18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * apple_bl exported symbols 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _LINUX_APPLE_BL_H 78c2ecf20Sopenharmony_ci#define _LINUX_APPLE_BL_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#if defined(CONFIG_BACKLIGHT_APPLE) || defined(CONFIG_BACKLIGHT_APPLE_MODULE) 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciextern int apple_bl_register(void); 128c2ecf20Sopenharmony_ciextern void apple_bl_unregister(void); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#else /* !CONFIG_BACKLIGHT_APPLE */ 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cistatic inline int apple_bl_register(void) 178c2ecf20Sopenharmony_ci{ 188c2ecf20Sopenharmony_ci return 0; 198c2ecf20Sopenharmony_ci} 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_cistatic inline void apple_bl_unregister(void) 228c2ecf20Sopenharmony_ci{ 238c2ecf20Sopenharmony_ci} 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif /* !CONFIG_BACKLIGHT_APPLE */ 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci#endif /* _LINUX_APPLE_BL_H */ 28