diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-11 09:26:48 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-11 09:59:38 +1000 |
commit | 508c40227caee4cef0e963e61a3a5172a108b455 (patch) | |
tree | 2cec3435f5fec2f088d41d0d3f07dea54b278646 /include/asm-ppc | |
parent | 20f629549b30a1154c8b5e830cb10a0c0faa875f (diff) | |
download | kernel_samsung_tuna-508c40227caee4cef0e963e61a3a5172a108b455.zip kernel_samsung_tuna-508c40227caee4cef0e963e61a3a5172a108b455.tar.gz kernel_samsung_tuna-508c40227caee4cef0e963e61a3a5172a108b455.tar.bz2 |
powerpc: Merged asm/backlight.h
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/backlight.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/asm-ppc/backlight.h b/include/asm-ppc/backlight.h deleted file mode 100644 index 3a1c3de..0000000 --- a/include/asm-ppc/backlight.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Routines for handling backlight control on PowerBooks - * - * For now, implementation resides in arch/ppc/kernel/pmac_support.c - * - */ -#ifdef __KERNEL__ -#ifndef __ASM_PPC_BACKLIGHT_H -#define __ASM_PPC_BACKLIGHT_H - -/* Abstract values */ -#define BACKLIGHT_OFF 0 -#define BACKLIGHT_MIN 1 -#define BACKLIGHT_MAX 0xf - -struct backlight_controller { - int (*set_enable)(int enable, int level, void *data); - int (*set_level)(int level, void *data); -}; - -extern void register_backlight_controller(struct backlight_controller *ctrler, void *data, char *type); -extern void unregister_backlight_controller(struct backlight_controller *ctrler, void *data); - -extern int set_backlight_enable(int enable); -extern int get_backlight_enable(void); -extern int set_backlight_level(int level); -extern int get_backlight_level(void); - -#endif -#endif /* __KERNEL__ */ |