Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * apple_bl exported symbols
0004  */
0005 
0006 #ifndef _LINUX_APPLE_BL_H
0007 #define _LINUX_APPLE_BL_H
0008 
0009 #if defined(CONFIG_BACKLIGHT_APPLE) || defined(CONFIG_BACKLIGHT_APPLE_MODULE)
0010 
0011 extern int apple_bl_register(void);
0012 extern void apple_bl_unregister(void);
0013 
0014 #else /* !CONFIG_BACKLIGHT_APPLE */
0015 
0016 static inline int apple_bl_register(void)
0017 {
0018     return 0;
0019 }
0020 
0021 static inline void apple_bl_unregister(void)
0022 {
0023 }
0024 
0025 #endif /* !CONFIG_BACKLIGHT_APPLE */
0026 
0027 #endif /* _LINUX_APPLE_BL_H */