Seth Forshee | 83e72dd | 2012-03-16 14:41:21 -0500 | [diff] [blame] | 1 | /* |
2 | * apple_bl exported symbols | ||||
3 | */ | ||||
4 | |||||
5 | #ifndef _LINUX_APPLE_BL_H | ||||
6 | #define _LINUX_APPLE_BL_H | ||||
7 | |||||
8 | #ifdef CONFIG_BACKLIGHT_APPLE | ||||
9 | |||||
10 | extern int apple_bl_register(void); | ||||
11 | extern void apple_bl_unregister(void); | ||||
12 | |||||
13 | #else /* !CONFIG_BACKLIGHT_APPLE */ | ||||
14 | |||||
15 | static inline int apple_bl_register(void) | ||||
16 | { | ||||
17 | return 0; | ||||
18 | } | ||||
19 | |||||
20 | static inline void apple_bl_unregister(void) | ||||
21 | { | ||||
22 | } | ||||
23 | |||||
24 | #endif /* !CONFIG_BACKLIGHT_APPLE */ | ||||
25 | |||||
26 | #endif /* _LINUX_APPLE_BL_H */ |