diff options
Diffstat (limited to 'include/linux/bcma/bcma.h')
-rw-r--r-- | include/linux/bcma/bcma.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index 5dbd7055cb86..4d4b59de9467 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
@@ -170,10 +170,9 @@ struct bcma_driver { | |||
170 | }; | 170 | }; |
171 | extern | 171 | extern |
172 | int __bcma_driver_register(struct bcma_driver *drv, struct module *owner); | 172 | int __bcma_driver_register(struct bcma_driver *drv, struct module *owner); |
173 | static inline int bcma_driver_register(struct bcma_driver *drv) | 173 | #define bcma_driver_register(drv) \ |
174 | { | 174 | __bcma_driver_register(drv, THIS_MODULE) |
175 | return __bcma_driver_register(drv, THIS_MODULE); | 175 | |
176 | } | ||
177 | extern void bcma_driver_unregister(struct bcma_driver *drv); | 176 | extern void bcma_driver_unregister(struct bcma_driver *drv); |
178 | 177 | ||
179 | struct bcma_bus { | 178 | struct bcma_bus { |