summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-30 13:58:48 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-30 13:58:48 +0000
commit5c0a059eb9effd5ccaad4a9f904ee4bafba14885 (patch)
treef39efc5aa415e9ee17fb8e6461b3298d408b9df9 /target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c
parentb1257bc84fb6ae74053ae42925fe2d941ffc8cc1 (diff)
[s3c24xx] glamo: The cell can rely on being a child of the core. Use it for
passing platform data. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17051 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c')
-rw-r--r--target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c b/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c
index 077a7a839..b6df59d34 100644
--- a/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c
+++ b/target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c
@@ -1188,16 +1188,6 @@ static int __init glamo_probe(struct platform_device *pdev)
glamo_pll_rate(glamo, GLAMO_PLL1),
glamo_pll_rate(glamo, GLAMO_PLL2));
- /* register siblings */
- glamo->pdata->mmc_data->core = glamo;
- glamo_cells[GLAMO_CELL_MMC].platform_data = glamo->pdata->mmc_data;
- glamo_cells[GLAMO_CELL_MMC].data_size =
- sizeof(struct glamo_mmc_platform_data);
-
- glamo->pdata->fb_data->core = glamo;
- glamo_cells[GLAMO_CELL_FB].platform_data = glamo->pdata->fb_data;
- glamo_cells[GLAMO_CELL_FB].data_size = sizeof(struct glamo_fb_platform_data);
-
mfd_add_devices(&pdev->dev, pdev->id, glamo_cells,
ARRAY_SIZE(glamo_cells),
glamo->mem, 0);