diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-06-14 08:15:49 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-06-14 08:15:49 +0200 |
commit | 9aa7719e0c6a1580451900e672744752804f8f75 (patch) | |
tree | ba36c5536342db2759d0a1843dffd0c193e26ff0 /arch/arm/plat-s5p/dev-onenand.c | |
parent | drivers: sh: resume enabled clocks fix (diff) | |
parent | Linux 3.0-rc3 (diff) | |
download | linux-9aa7719e0c6a1580451900e672744752804f8f75.tar.xz linux-9aa7719e0c6a1580451900e672744752804f8f75.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into sh-fixes-for-linus
Diffstat (limited to 'arch/arm/plat-s5p/dev-onenand.c')
-rw-r--r-- | arch/arm/plat-s5p/dev-onenand.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/plat-s5p/dev-onenand.c b/arch/arm/plat-s5p/dev-onenand.c index 6db926202caa..20336c8f2479 100644 --- a/arch/arm/plat-s5p/dev-onenand.c +++ b/arch/arm/plat-s5p/dev-onenand.c @@ -15,8 +15,6 @@ #include <linux/kernel.h> #include <linux/platform_device.h> -#include <linux/mtd/mtd.h> -#include <linux/mtd/onenand.h> #include <mach/irqs.h> #include <mach/map.h> @@ -45,13 +43,3 @@ struct platform_device s5p_device_onenand = { .num_resources = ARRAY_SIZE(s5p_onenand_resources), .resource = s5p_onenand_resources, }; - -void s5p_onenand_set_platdata(struct onenand_platform_data *pdata) -{ - struct onenand_platform_data *pd; - - pd = kmemdup(pdata, sizeof(struct onenand_platform_data), GFP_KERNEL); - if (!pd) - printk(KERN_ERR "%s: no memory for platform data\n", __func__); - s5p_device_onenand.dev.platform_data = pd; -} |