projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a5a778
)
sh: Fix build of sh7750 base boards
author
Nobuhiro Iwamatsu
<
[email protected]
>
Mon, 24 Jan 2011 01:40:17 +0000
(
01:40
+0000)
committer
Paul Mundt
<
[email protected]
>
Tue, 25 Jan 2011 06:03:15 +0000
(15:03 +0900)
Renamed platform_register_device to platform_device_register.
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
Signed-off-by: Paul Mundt <
[email protected]
>
arch/sh/kernel/cpu/sh4/setup-sh7750.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/sh4/setup-sh7750.c
b/arch/sh/kernel/cpu/sh4/setup-sh7750.c
index c2b0aaaedcaedd4e70249230b816db082ce734fe..672944f5b19c63031f128232345360869ff6a558 100644
(file)
--- a/
arch/sh/kernel/cpu/sh4/setup-sh7750.c
+++ b/
arch/sh/kernel/cpu/sh4/setup-sh7750.c
@@
-230,10
+230,10
@@
static struct platform_device *sh7750_devices[] __initdata = {
static int __init sh7750_devices_setup(void)
{
if (mach_is_rts7751r2d()) {
- platform_
register_device
(&scif_device);
+ platform_
device_register
(&scif_device);
} else {
- platform_
register_device
(&sci_device);
- platform_
register_device
(&scif_device);
+ platform_
device_register
(&sci_device);
+ platform_
device_register
(&scif_device);
}
return platform_add_devices(sh7750_devices,