summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sa1100/pleb.c
diff options
context:
space:
mode:
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 e1458bc1868..1ccd6018d3a 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));