platform_lcd.h 440 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /* include/video/platform_lcd.h
  3. *
  4. * Copyright 2008 Simtec Electronics
  5. * Ben Dooks <ben@simtec.co.uk>
  6. *
  7. * Generic platform-device LCD power control interface.
  8. */
  9. struct plat_lcd_data;
  10. struct fb_info;
  11. struct plat_lcd_data {
  12. int (*probe)(struct plat_lcd_data *);
  13. void (*set_power)(struct plat_lcd_data *, unsigned int power);
  14. int (*match_fb)(struct plat_lcd_data *, struct fb_info *);
  15. };