Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * apple_bl exported symbols |
| 4 | */ |
| 5 | |
| 6 | #ifndef _LINUX_APPLE_BL_H |
| 7 | #define _LINUX_APPLE_BL_H |
| 8 | |
| 9 | #if defined(CONFIG_BACKLIGHT_APPLE) || defined(CONFIG_BACKLIGHT_APPLE_MODULE) |
| 10 | |
| 11 | extern int apple_bl_register(void); |
| 12 | extern void apple_bl_unregister(void); |
| 13 | |
| 14 | #else /* !CONFIG_BACKLIGHT_APPLE */ |
| 15 | |
| 16 | static inline int apple_bl_register(void) |
| 17 | { |
| 18 | return 0; |
| 19 | } |
| 20 | |
| 21 | static inline void apple_bl_unregister(void) |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | #endif /* !CONFIG_BACKLIGHT_APPLE */ |
| 26 | |
| 27 | #endif /* _LINUX_APPLE_BL_H */ |