Modify the compat print
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 17 May 2010 19:04:06 +0000 (12:04 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 17 May 2010 19:04:06 +0000 (12:04 -0700)
This uses the COMPAT_VERSION on the print

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/main.c

index 35a5ae8dc29c48c6398f5d1823a3c07f50c011b9..1a4ad6dd8b97a110bbe825915ec8a3f2f577789c 100644 (file)
@@ -17,8 +17,10 @@ static int __init compat_init(void)
 {
        /* pm-qos for kernels <= 2.6.24, this is a no-op on newer kernels */
        compat_pm_qos_power_init();
+
        printk(KERN_INFO "Generic kernel compatibility enabled based on "
-              "linux-next next-20100113\n");
+              COMPAT_VERSION
+              "\n");
 
         return 0;
 }