mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 21:47:04 +07:00
1615d210db
Include the header to pickup the exported symbol prototype. Quiets the sparse warning: warning: symbol 'apple_bl_register' was not declared. Should it be static? warning: symbol 'apple_bl_unregister' was not declared. Should it be static? [akpm@linux-foundation.org: fix resulting build error] Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
27 lines
459 B
C
27 lines
459 B
C
/*
|
|
* 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 */
|