From 4c69b272d698765be2f614ed900e866c64dab0ab Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Mon, 11 Jan 2010 11:27:07 -0800 Subject: [PATCH] Simple compile warning fix for pm-qos return 0 on newer kernels. Signed-off-by: Luis R. Rodriguez --- include/linux/compat-2.6.25.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/compat-2.6.25.h b/include/linux/compat-2.6.25.h index 054b3e593f34..a4d5c90849fc 100644 --- a/include/linux/compat-2.6.25.h +++ b/include/linux/compat-2.6.25.h @@ -130,7 +130,7 @@ extern int strict_strtol(const char *, unsigned int, long *); */ static inline int compat_pm_qos_power_init(void) { - return; + return 0; } #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)) */ -- 2.30.2