Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225770
b: refs/heads/master
c: 4f444e2
h: refs/heads/master
v: v3
  • Loading branch information
Jochen Friedrich authored and Russell King committed Jan 3, 2011
1 parent 1dfd5ec commit c8d02bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b080ac8ad47aeeb845d8d11924f09255cf49b5e9
refs/heads/master: 4f444e2b59dd4255d121b57ec41a4a8c5d6bce46
7 changes: 4 additions & 3 deletions trunk/arch/arm/mach-sa1100/simpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@ static void __init simpad_map_io(void)
PCFR = 0;
PSDR = 0;

sa11x0_register_mtd(&simpad_flash_data, simpad_flash_resources,
ARRAY_SIZE(simpad_flash_resources));
sa11x0_register_mcp(&simpad_mcp_data);
}

static void simpad_power_off(void)
Expand Down Expand Up @@ -216,6 +213,10 @@ static int __init simpad_init(void)

pm_power_off = simpad_power_off;

sa11x0_register_mtd(&simpad_flash_data, simpad_flash_resources,
ARRAY_SIZE(simpad_flash_resources));
sa11x0_register_mcp(&simpad_mcp_data);

ret = platform_add_devices(devices, ARRAY_SIZE(devices));
if(ret)
printk(KERN_WARNING "simpad: Unable to register mq200 framebuffer device");
Expand Down

0 comments on commit c8d02bf

Please sign in to comment.