backlight.h 732 B

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