aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00lib.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-03-18 03:37:55 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-18 03:37:55 -0400
commit577f99c1d08cf9cbdafd4e858dd13ff04d855090 (patch)
tree0f726bbda9b18d311d4c95198bbd96cb7ac01db0 /drivers/net/wireless/rt2x00/rt2x00lib.h
parent26c0f03f6b77c513cb7bc37b73a06819bdbb791b (diff)
parent2f633928cbba8a5858bb39b11e7219a41b0fbef5 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/rt2x00/rt2x00dev.c net/8021q/vlan_dev.c
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00lib.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00lib.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h
index e4b4dd23d611..64fae7e3f73b 100644
--- a/drivers/net/wireless/rt2x00/rt2x00lib.h
+++ b/drivers/net/wireless/rt2x00/rt2x00lib.h
@@ -148,28 +148,36 @@ static inline void rt2x00debug_dump_frame(struct rt2x00_dev *rt2x00dev,
148 * RFkill handlers. 148 * RFkill handlers.
149 */ 149 */
150#ifdef CONFIG_RT2X00_LIB_RFKILL 150#ifdef CONFIG_RT2X00_LIB_RFKILL
151int rt2x00rfkill_register(struct rt2x00_dev *rt2x00dev); 151void rt2x00rfkill_register(struct rt2x00_dev *rt2x00dev);
152void rt2x00rfkill_unregister(struct rt2x00_dev *rt2x00dev); 152void rt2x00rfkill_unregister(struct rt2x00_dev *rt2x00dev);
153int rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev); 153void rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev);
154void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev); 154void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev);
155void rt2x00rfkill_suspend(struct rt2x00_dev *rt2x00dev);
156void rt2x00rfkill_resume(struct rt2x00_dev *rt2x00dev);
155#else 157#else
156static inline int rt2x00rfkill_register(struct rt2x00_dev *rt2x00dev) 158static inline void rt2x00rfkill_register(struct rt2x00_dev *rt2x00dev)
157{ 159{
158 return 0;
159} 160}
160 161
161static inline void rt2x00rfkill_unregister(struct rt2x00_dev *rt2x00dev) 162static inline void rt2x00rfkill_unregister(struct rt2x00_dev *rt2x00dev)
162{ 163{
163} 164}
164 165
165static inline int rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev) 166static inline void rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev)
166{ 167{
167 return 0;
168} 168}
169 169
170static inline void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev) 170static inline void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev)
171{ 171{
172} 172}
173
174static inline void rt2x00rfkill_suspend(struct rt2x00_dev *rt2x00dev)
175{
176}
177
178static inline void rt2x00rfkill_resume(struct rt2x00_dev *rt2x00dev)
179{
180}
173#endif /* CONFIG_RT2X00_LIB_RFKILL */ 181#endif /* CONFIG_RT2X00_LIB_RFKILL */
174 182
175/* 183/*