From: Luis R. Rodriguez Date: Mon, 11 Jan 2010 19:27:07 +0000 (-0800) Subject: Simple compile warning fix for pm-qos X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4c69b272d698765be2f614ed900e866c64dab0ab;p=openwrt%2Fstaging%2Fblogic.git Simple compile warning fix for pm-qos return 0 on newer kernels. Signed-off-by: Luis R. Rodriguez --- 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)) */