wl1251: Add support for idle mode
[pandora-wifi.git] / compat / main.c
1 #include <linux/module.h>
2
3 MODULE_AUTHOR("Luis R. Rodriguez");
4 MODULE_DESCRIPTION("Kernel compatibility module");
5 MODULE_LICENSE("GPL");
6
7 static int __init compat_init(void)
8 {
9         /* pm-qos for kernels <= 2.6.24, this is a no-op on newer kernels */
10         compat_pm_qos_power_init();
11         printk(KERN_INFO "Generic kernel compatibility enabled based on "
12                "linux-next next-20100113\n");
13
14         return 0;
15 }
16 module_init(compat_init);
17
18 static void __exit compat_exit(void)
19 {
20         compat_pm_qos_power_deinit();
21
22         return;
23 }
24 module_exit(compat_exit);
25