You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
498 B
27 lines
498 B
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* apple_bl exported symbols
|
|
*/
|
|
|
|
#ifndef _LINUX_APPLE_BL_H
|
|
#define _LINUX_APPLE_BL_H
|
|
|
|
#if defined(CONFIG_BACKLIGHT_APPLE) || defined(CONFIG_BACKLIGHT_APPLE_MODULE)
|
|
|
|
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 */
|
|
|