backlight.h 788 B

123456789101112131415161718192021222324252627
  1. /* linux/arch/arm/plat-samsung/include/plat/backlight.h
  2. *
  3. * Copyright (c) 2011 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __ASM_PLAT_BACKLIGHT_H
  11. #define __ASM_PLAT_BACKLIGHT_H __FILE__
  12. /* samsung_bl_gpio_info - GPIO info for PWM Backlight control
  13. * @no: GPIO number for PWM timer out
  14. * @func: Special function of GPIO line for PWM timer
  15. */
  16. struct samsung_bl_gpio_info {
  17. int no;
  18. int func;
  19. };
  20. extern void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info,
  21. struct platform_pwm_backlight_data *bl_data);
  22. #endif /* __ASM_PLAT_BACKLIGHT_H */