diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-07-16 12:06:48 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-07-16 12:06:48 +0000 |
commit | f6efd6b76fa608400807ba55cb8a518b5663ba0d (patch) | |
tree | 18123b459d9cbccbc8a280cb60c66d7aa2316f7d /target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.h | |
parent | d5882b22a05971a3ae7c6bb27251efec262ff6b3 (diff) | |
download | master-187ad058-f6efd6b76fa608400807ba55cb8a518b5663ba0d.tar.gz master-187ad058-f6efd6b76fa608400807ba55cb8a518b5663ba0d.tar.bz2 master-187ad058-f6efd6b76fa608400807ba55cb8a518b5663ba0d.zip |
[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/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.h')
-rw-r--r-- | target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.h b/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.h index c0340a62ad..4675371025 100644 --- a/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.h +++ b/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.h @@ -2,7 +2,7 @@ #define __GLAMO_CORE_H #include <asm/system.h> -#include <linux/glamo-engine.h> +#include <linux/mfd/glamo.h> /* for the time being, we put the on-screen framebuffer into the lowest * VRAM space. This should make the code easily compatible with the various @@ -24,7 +24,7 @@ struct glamo_core { struct resource *mem_core; void __iomem *base; struct platform_device *pdev; - struct glamofb_platform_data *pdata; + struct glamo_platform_data *pdata; u_int16_t type; u_int16_t revision; spinlock_t lock; @@ -41,19 +41,6 @@ struct glamo_script { int glamo_run_script(struct glamo_core *glamo, struct glamo_script *script, int len, int may_sleep); -struct glamo_mci_pdata { - struct glamo_core * pglamo; - unsigned int gpio_detect; - unsigned int gpio_wprotect; - int (*glamo_can_set_mci_power)(void); - /* 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 (*mci_suspending)(struct platform_device *dev); - int (*mci_all_dependencies_resumed)(struct platform_device *dev); - -}; - int glamo_engine_enable(struct glamo_core *glamo, enum glamo_engine engine); int glamo_engine_disable(struct glamo_core *glamo, enum glamo_engine engine); void glamo_engine_reset(struct glamo_core *glamo, enum glamo_engine engine); |