summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/files-2.6.30
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-16 12:06:48 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-16 12:06:48 +0000
commita9d94ee88b335a91c73d346b41d78058a1e0076e (patch)
tree18123b459d9cbccbc8a280cb60c66d7aa2316f7d /target/linux/generic-2.6/files-2.6.30
parentf7292e1b435bdf4c6f8438e9e6d94cb6e3caa7c2 (diff)
[s3c24xx] Cleanup glamo platform_data.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16863 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files-2.6.30')
-rw-r--r--target/linux/generic-2.6/files-2.6.30/include/linux/glamofb.h23
1 files changed, 6 insertions, 17 deletions
diff --git a/target/linux/generic-2.6/files-2.6.30/include/linux/glamofb.h b/target/linux/generic-2.6/files-2.6.30/include/linux/glamofb.h
index 8110fa1462..5f9fab5a48 100644
--- a/target/linux/generic-2.6/files-2.6.30/include/linux/glamofb.h
+++ b/target/linux/generic-2.6/files-2.6.30/include/linux/glamofb.h
@@ -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);