gpio_backlight.h 463 B

123456789101112131415161718192021
  1. /*
  2. * gpio_backlight.h - Simple GPIO-controlled backlight
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __GPIO_BACKLIGHT_H__
  9. #define __GPIO_BACKLIGHT_H__
  10. struct device;
  11. struct gpio_backlight_platform_data {
  12. struct device *fbdev;
  13. int gpio;
  14. int def_value;
  15. bool active_low;
  16. const char *name;
  17. };
  18. #endif