2012-03-17 03:41:21 +08:00
|
|
|
/*
|
|
|
|
* apple_bl exported symbols
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LINUX_APPLE_BL_H
|
|
|
|
#define _LINUX_APPLE_BL_H
|
|
|
|
|
2012-05-30 06:07:14 +08:00
|
|
|
#if defined(CONFIG_BACKLIGHT_APPLE) || defined(CONFIG_BACKLIGHT_APPLE_MODULE)
|
2012-03-17 03:41:21 +08:00
|
|
|
|
|
|
|
extern int apple_bl_register(void);
|
|
|
|
extern void apple_bl_unregister(void);
|
|
|
|
|
|
|
|
#else /* !CONFIG_BACKLIGHT_APPLE */
|
|
|
|
|
|
|
|
static inline int apple_bl_register(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline void apple_bl_unregister(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* !CONFIG_BACKLIGHT_APPLE */
|
|
|
|
|
|
|
|
#endif /* _LINUX_APPLE_BL_H */
|