aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-07-16 12:06:48 +0000
committerLars-Peter Clausen <lars@metafoo.de>2009-07-16 12:06:48 +0000
commit93d3f098ebba94dd5b4cc9cd93504012650eba49 (patch)
tree999074104d81c677f665c3970fad656bb669458d /target/linux/generic-2.6
parent3d2040de0ffa3cf2005779f9fbf48f6f120a099d (diff)
downloadupstream-93d3f098ebba94dd5b4cc9cd93504012650eba49.tar.gz
upstream-93d3f098ebba94dd5b4cc9cd93504012650eba49.tar.bz2
upstream-93d3f098ebba94dd5b4cc9cd93504012650eba49.zip
Cleanup glamo platform_data.
SVN-Revision: 16863
Diffstat (limited to 'target/linux/generic-2.6')
-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);