aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/files-2.6.30/arch
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-07-12 15:42:22 +0000
committerLars-Peter Clausen <lars@metafoo.de>2009-07-12 15:42:22 +0000
commit8769b8e0f04cceff44ef2829193fd87b030ed57b (patch)
treee32f3727c84a7773d688b0e453362ca1ebf034d9 /target/linux/s3c24xx/files-2.6.30/arch
parente5b097425d65e1f3d215fc10b85d4918ca80e652 (diff)
downloadupstream-8769b8e0f04cceff44ef2829193fd87b030ed57b.tar.gz
upstream-8769b8e0f04cceff44ef2829193fd87b030ed57b.tar.bz2
upstream-8769b8e0f04cceff44ef2829193fd87b030ed57b.zip
glamo: Use mfd_cell for child resource handling instead of some ugly custom code.
SVN-Revision: 16816
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/arch')
-rw-r--r--target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/mach-gta02.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/mach-gta02.c b/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/mach-gta02.c
index f099c6446f..88e77a15ba 100644
--- a/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/mach-gta02.c
+++ b/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/mach-gta02.c
@@ -535,16 +535,9 @@ static struct regulator_consumer_supply ldo5_consumers[] = {
},
};
-/*
- * We need this dummy thing to fill the regulator consumers
- */
-static struct platform_device gta02_mmc_dev = {
- /* details filled in by glamo core */
-};
-
static struct regulator_consumer_supply hcldo_consumers[] = {
{
- .dev = &gta02_mmc_dev.dev,
+ .dev = &gta02_glamo_dev.dev,
.supply = "SD_3V3",
},
};
@@ -1111,13 +1104,6 @@ const struct jbt6k74_platform_data jbt6k74_pdata = {
.probe_completed = gta02_jbt6k74_probe_completed,
};
-#if 0 /* currently this is not used and we use gpio spi */
-static struct glamo_spi_info glamo_spi_cfg = {
- .board_size = ARRAY_SIZE(gta02_spi_board_info),
- .board_info = gta02_spi_board_info,
-};
-#endif /* 0 */
-
static struct glamo_spigpio_info glamo_spigpio_cfg = {
.pin_clk = GLAMO_GPIO10_OUTPUT,
.pin_mosi = GLAMO_GPIO11_OUTPUT,
@@ -1431,16 +1417,13 @@ static struct fb_videomode gta02_glamo_modes[] = {
static struct glamofb_platform_data gta02_glamo_pdata = {
.width = 43,
.height = 58,
- .fb_mem_size = 0x400000, /* glamo has 8 megs of SRAM. we use 4 */
.num_modes = ARRAY_SIZE(gta02_glamo_modes),
.modes = gta02_glamo_modes,
- //.spi_info = &glamo_spi_cfg,
.spigpio_info = &glamo_spigpio_cfg,
/* glamo MMC function platform data */
- .mmc_dev = &gta02_mmc_dev,
.glamo_can_set_mci_power = gta02_glamo_can_set_mmc_power,
.glamo_mci_use_slow = gta02_glamo_mci_use_slow,
.glamo_irq_is_wired = glamo_irq_is_wired,