diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-07-30 13:58:48 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-07-30 13:58:48 +0000 |
commit | e5ade3d31dfa8a7666f8caaf6f823c485d5f43ba (patch) | |
tree | f39efc5aa415e9ee17fb8e6461b3298d408b9df9 /target/linux/s3c24xx/files-2.6.30/drivers/mfd/glamo/glamo-core.c | |
parent | 5b6c3b2225f57fd5b5592e8aa0e428b09fbfa692 (diff) | |
download | master-187ad058-e5ade3d31dfa8a7666f8caaf6f823c485d5f43ba.tar.gz master-187ad058-e5ade3d31dfa8a7666f8caaf6f823c485d5f43ba.tar.bz2 master-187ad058-e5ade3d31dfa8a7666f8caaf6f823c485d5f43ba.zip |
[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.c | 10 |
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 077a7a839c..b6df59d34e 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); |