acpi: fix integer as NULL pointer warning
[linux-2.6/openmoko-kernel/knife-kernel.git] / net / wireless / nl80211.h
blobf3ea5c029aeeaf8e19342471b6933408e9a29cd5
1 #ifndef __NET_WIRELESS_NL80211_H
2 #define __NET_WIRELESS_NL80211_H
4 #include "core.h"
6 #ifdef CONFIG_NL80211
7 extern int nl80211_init(void);
8 extern void nl80211_exit(void);
9 extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
10 #else
11 static inline int nl80211_init(void)
13 return 0;
15 static inline void nl80211_exit(void)
18 static inline void nl80211_notify_dev_rename(
19 struct cfg80211_registered_device *rdev)
22 #endif /* CONFIG_NL80211 */
24 #endif /* __NET_WIRELESS_NL80211_H */