summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/pleb.c
diff options
context:
space:
mode:
authorRussell King2009-10-06 15:55:53 +0200
committerRussell King2009-12-06 17:52:23 +0100
commit7a5b4e16c880f8350d255dc188f81622905618c1 (patch)
tree78ab8222057c0578a641db587081e89bbcbdb1ef /arch/arm/mach-sa1100/pleb.c
parentMerge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadkernel-qcow2-linux-7a5b4e16c880f8350d255dc188f81622905618c1.tar.gz
kernel-qcow2-linux-7a5b4e16c880f8350d255dc188f81622905618c1.tar.xz
kernel-qcow2-linux-7a5b4e16c880f8350d255dc188f81622905618c1.zip
ARM: sa11x0: convert set_xxx_data() to register_xxx()
Only register devices if we have platform data for those which require platform data. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/pleb.c')
-rw-r--r--arch/arm/mach-sa1100/pleb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/pleb.c b/arch/arm/mach-sa1100/pleb.c
index e1458bc1868e..1ccd6018d3a3 100644
--- a/arch/arm/mach-sa1100/pleb.c
+++ b/arch/arm/mach-sa1100/pleb.c
@@ -109,7 +109,7 @@ static struct flash_platform_data pleb_flash_data = {
static void __init pleb_init(void)
{
- sa11x0_set_flash_data(&pleb_flash_data, pleb_flash_resources,
+ sa11x0_register_mtd(&pleb_flash_data, pleb_flash_resources,
ARRAY_SIZE(pleb_flash_resources));