Ignore:
Timestamp:
2011-08-01T23:14:15+02:00 (5 years ago)
Author:
nbd
Message:

mac80211: fix a compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/050-compat_firmware.patch

    r27864 r27870  
    4242--- a/compat/main.c 
    4343+++ b/compat/main.c 
    44 @@ -32,6 +32,14 @@ module_param(compat_version, charp, 0400 
     44@@ -32,6 +32,17 @@ module_param(compat_version, charp, 0400 
    4545 MODULE_PARM_DESC(compat_version, 
    4646                 "Version of the kernel compat backport work"); 
     
    5050+void __exit firmware_class_exit(void); 
    5151+#else 
    52 +static inline int firmware_class_init(void) {} 
     52+static inline int firmware_class_init(void) 
     53+{ 
     54+       return 0; 
     55+} 
    5356+static inline void firmware_class_exit(void) {} 
    5457+#endif 
     
    5760 { 
    5861        /* pm-qos for kernels <= 2.6.24, this is a no-op on newer kernels */ 
    59 @@ -45,15 +53,15 @@ static int __init compat_init(void) 
     62@@ -45,15 +56,15 @@ static int __init compat_init(void) 
    6063               COMPAT_BASE_TREE " " COMPAT_BASE_TREE_VERSION 
    6164               "\n"); 
Note: See TracChangeset for help on using the changeset viewer.