aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ssb/ssb_private.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2013-02-14 14:23:33 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-02-14 14:23:33 -0500
commitb90af3b8c69730fb25646c04866dfccec2f1314b (patch)
treefb4a7dd23f5d8b7803d89f1e3fb1ab075f1c06a0 /drivers/ssb/ssb_private.h
parent5171f7a0b79dfbc61a6e12f20f6eef6d7dd5b2a8 (diff)
parentd786f67e5c587a4de8245336cb64cf4dd06871a7 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts: drivers/net/wireless/iwlwifi/dvm/tx.c
Diffstat (limited to 'drivers/ssb/ssb_private.h')
-rw-r--r--drivers/ssb/ssb_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ssb/ssb_private.h b/drivers/ssb/ssb_private.h
index 53198dcec90e..466171b77f68 100644
--- a/drivers/ssb/ssb_private.h
+++ b/drivers/ssb/ssb_private.h
@@ -267,11 +267,16 @@ static inline void ssb_extif_init(struct ssb_extif *extif)
267 267
268#ifdef CONFIG_SSB_DRIVER_GPIO 268#ifdef CONFIG_SSB_DRIVER_GPIO
269extern int ssb_gpio_init(struct ssb_bus *bus); 269extern int ssb_gpio_init(struct ssb_bus *bus);
270extern int ssb_gpio_unregister(struct ssb_bus *bus);
270#else /* CONFIG_SSB_DRIVER_GPIO */ 271#else /* CONFIG_SSB_DRIVER_GPIO */
271static inline int ssb_gpio_init(struct ssb_bus *bus) 272static inline int ssb_gpio_init(struct ssb_bus *bus)
272{ 273{
273 return -ENOTSUPP; 274 return -ENOTSUPP;
274} 275}
276static inline int ssb_gpio_unregister(struct ssb_bus *bus)
277{
278 return 0;
279}
275#endif /* CONFIG_SSB_DRIVER_GPIO */ 280#endif /* CONFIG_SSB_DRIVER_GPIO */
276 281
277#endif /* LINUX_SSB_PRIVATE_H_ */ 282#endif /* LINUX_SSB_PRIVATE_H_ */