blob: 445af2e3cc21039df9971bafebb852d087b2ad46 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Seth Forshee83e72dd2012-03-16 14:41:21 -05002/*
3 * apple_bl exported symbols
4 */
5
6#ifndef _LINUX_APPLE_BL_H
7#define _LINUX_APPLE_BL_H
8
H Hartley Sweeten1615d212012-05-29 15:07:14 -07009#if defined(CONFIG_BACKLIGHT_APPLE) || defined(CONFIG_BACKLIGHT_APPLE_MODULE)
Seth Forshee83e72dd2012-03-16 14:41:21 -050010
11extern int apple_bl_register(void);
12extern void apple_bl_unregister(void);
13
14#else /* !CONFIG_BACKLIGHT_APPLE */
15
16static inline int apple_bl_register(void)
17{
18 return 0;
19}
20
21static inline void apple_bl_unregister(void)
22{
23}
24
25#endif /* !CONFIG_BACKLIGHT_APPLE */
26
27#endif /* _LINUX_APPLE_BL_H */