[s3c24xx] Cleanup glamo platform_data.
[openwrt-10.03/.git] / target / linux / generic-2.6 / files-2.6.30 / include / linux / glamofb.h
index b97dcba9d5d23a4946bfabc172acb7539a53a655..5f9fab5a4873e7443da088bb65580e9c9ad0544b 100644 (file)
@@ -2,41 +2,26 @@
 #define _LINUX_GLAMOFB_H
 
 #include <linux/fb.h>
-#include <linux/glamo-engine.h>
 
 #ifdef __KERNEL__
 
-#include <linux/spi/glamo.h>
-
 struct glamo_core;
+struct glamofb_handle;
 
-struct glamofb_platform_data {
-       int width, height;
-       int fb_mem_size;
-
-       int num_modes;
-       struct fb_videomode *modes;
-
-       struct glamo_spi_info *spi_info;
-       struct glamo_spigpio_info *spigpio_info;
-       struct glamo_core *glamo;
-
-       struct platform_device *mmc_dev;
+struct glamo_fb_platform_data {
+    int width, height;
 
-       /* glamo mmc platform specific info */
-       int             (*glamo_can_set_mci_power)(void);
+    int num_modes;
+    struct fb_videomode *modes;
 
-       /* glamo-mci asking if it should use the slow clock to card */
-       int             (*glamo_mci_use_slow)(void);
-       int             (*glamo_irq_is_wired)(void);
-       void            (*glamo_external_reset)(int);
+    struct glamo_core *core;
 };
 
 int glamofb_cmd_mode(struct glamofb_handle *gfb, int on);
 int glamofb_cmd_write(struct glamofb_handle *gfb, u_int16_t val);
 
 #ifdef CONFIG_MFD_GLAMO
-void glamo_lcm_reset(int level);
+void glamo_lcm_reset(struct platform_device *pdev, int level);
 #else
 #define glamo_lcm_reset(...) do {} while (0)
 #endif