https://github.com/torvalds/linux
Revision 56731b16ce5a9f11cb9496d76e4ffac11987fc85 authored by Brian Keiseler on 12 January 2015, 11:04:12 UTC, committed by Brian Keiseler on 12 January 2015, 11:04:12 UTC
1 parent 5019485
Raw File
Tip revision: 56731b16ce5a9f11cb9496d76e4ffac11987fc85 authored by Brian Keiseler on 12 January 2015, 11:04:12 UTC
Update Copyright
Tip revision: 56731b1
apple_bl.h
/*
 * 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 */
back to top