diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/can/led.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/can/led.h b/include/linux/can/led.h index 12d5549abb95..9c1167baf273 100644 --- a/include/linux/can/led.h +++ b/include/linux/can/led.h | |||
| @@ -26,6 +26,8 @@ enum can_led_event { | |||
| 26 | 26 | ||
| 27 | void can_led_event(struct net_device *netdev, enum can_led_event event); | 27 | void can_led_event(struct net_device *netdev, enum can_led_event event); |
| 28 | void devm_can_led_init(struct net_device *netdev); | 28 | void devm_can_led_init(struct net_device *netdev); |
| 29 | int __init can_led_notifier_init(void); | ||
| 30 | void __exit can_led_notifier_exit(void); | ||
| 29 | 31 | ||
| 30 | #else | 32 | #else |
| 31 | 33 | ||
| @@ -36,6 +38,13 @@ static inline void can_led_event(struct net_device *netdev, | |||
| 36 | static inline void devm_can_led_init(struct net_device *netdev) | 38 | static inline void devm_can_led_init(struct net_device *netdev) |
| 37 | { | 39 | { |
| 38 | } | 40 | } |
| 41 | static inline int can_led_notifier_init(void) | ||
| 42 | { | ||
| 43 | return 0; | ||
| 44 | } | ||
| 45 | static inline void can_led_notifier_exit(void) | ||
| 46 | { | ||
| 47 | } | ||
| 39 | 48 | ||
| 40 | #endif | 49 | #endif |
| 41 | 50 | ||
