]> git.openfabrics.org - ~emulex/for-vlad/compat.git/commitdiff
Simple compile warning fix for pm-qos
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 11 Jan 2010 19:27:07 +0000 (11:27 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 11 Jan 2010 19:27:07 +0000 (11:27 -0800)
return 0 on newer kernels.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
include/linux/compat-2.6.25.h

index 054b3e593f34c53b4d9992a54017f7949dcc6590..a4d5c90849fc8bd33c646e9ceebc6bb60c3f39fe 100644 (file)
@@ -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)) */