omapfb.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * File: include/linux/omapfb.h
  3. *
  4. * Framebuffer driver for TI OMAP boards
  5. *
  6. * Copyright (C) 2004 Nokia Corporation
  7. * Author: Imre Deak <imre.deak@nokia.com>
  8. *
  9. * This program is free software; you can redistribute it and/or modify it
  10. * under the terms of the GNU General Public License as published by the
  11. * Free Software Foundation; either version 2 of the License, or (at your
  12. * option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful, but
  15. * WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License along
  20. * with this program; if not, write to the Free Software Foundation, Inc.,
  21. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  22. */
  23. #ifndef __LINUX_OMAPFB_H__
  24. #define __LINUX_OMAPFB_H__
  25. #include <uapi/linux/omapfb.h>
  26. struct omap_lcd_config {
  27. char panel_name[16];
  28. char ctrl_name[16];
  29. s16 nreset_gpio;
  30. u8 data_lines;
  31. };
  32. struct omapfb_platform_data {
  33. struct omap_lcd_config lcd;
  34. };
  35. void __init omapfb_set_lcd_config(const struct omap_lcd_config *config);
  36. #endif /* __OMAPFB_H */