diff options
author | Kukjin Kim <kgene@kernel.org> | 2015-07-29 20:00:36 +0300 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-07-29 20:00:36 +0300 |
commit | 4a7bf56f7f98fee929c74dd579fa19529712974d (patch) | |
tree | 12b2553d7a1d76f53885a2642978de0abce3db82 /arch/arm/mach-s3c64xx/backlight.h | |
parent | e979b1a9b47dbe56fa7543bde3dc093231c1eb6e (diff) | |
download | linux-4a7bf56f7f98fee929c74dd579fa19529712974d.tar.xz |
ARM: SAMSUNG: local backlight header in mach-s3c64xx
This patch moves backlight header file into mach-s3c64xx.
Because it is not used for others except mach-s3c64xx.
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/backlight.h')
-rw-r--r-- | arch/arm/mach-s3c64xx/backlight.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/backlight.h b/arch/arm/mach-s3c64xx/backlight.h new file mode 100644 index 000000000000..8dcacac523a2 --- /dev/null +++ b/arch/arm/mach-s3c64xx/backlight.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2011 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_PLAT_BACKLIGHT_H +#define __ASM_PLAT_BACKLIGHT_H __FILE__ + +/* samsung_bl_gpio_info - GPIO info for PWM Backlight control + * @no: GPIO number for PWM timer out + * @func: Special function of GPIO line for PWM timer + */ +struct samsung_bl_gpio_info { + int no; + int func; +}; + +extern void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info, + struct platform_pwm_backlight_data *bl_data); + +#endif /* __ASM_PLAT_BACKLIGHT_H */ |