[s3c24xx] Cleanup glamo platform_data.
[openwrt-10.03/.git] / target / linux / generic-2.6 / files-2.6.30 / include / linux / glamofb.h
index 8110fa14629c73167baa0470b6057fd0b3d2a80b..5f9fab5a4873e7443da088bb65580e9c9ad0544b 100644 (file)
@@ -2,30 +2,19 @@
 #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 num_modes;
-       struct fb_videomode *modes;
-
-       struct glamo_spigpio_info *spigpio_info;
-       struct glamo_core *glamo;
+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);