fb.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* arch/arm/plat-samsung/include/plat/fb.h
  2. *
  3. * Copyright 2008 Openmoko, Inc.
  4. * Copyright 2008 Simtec Electronics
  5. * http://armlinux.simtec.co.uk/
  6. * Ben Dooks <ben@simtec.co.uk>
  7. *
  8. * S3C - FB platform data definitions
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. #ifndef __PLAT_S3C_FB_H
  15. #define __PLAT_S3C_FB_H __FILE__
  16. #include <linux/platform_data/video_s3c.h>
  17. /**
  18. * s3c_fb_set_platdata() - Setup the FB device with platform data.
  19. * @pd: The platform data to set. The data is copied from the passed structure
  20. * so the machine data can mark the data __initdata so that any unused
  21. * machines will end up dumping their data at runtime.
  22. */
  23. extern void s3c_fb_set_platdata(struct s3c_fb_platdata *pd);
  24. /**
  25. * s3c64xx_fb_gpio_setup_24bpp() - S3C64XX setup function for 24bpp LCD
  26. *
  27. * Initialise the GPIO for an 24bpp LCD display on the RGB interface.
  28. */
  29. extern void s3c64xx_fb_gpio_setup_24bpp(void);
  30. #endif /* __PLAT_S3C_FB_H */