sh: Fix build of sh7750 base boards

Renamed platform_register_device to platform_device_register.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Nobuhiro Iwamatsu 2011-01-24 01:40:17 +00:00 committed by Paul Mundt
parent 8a5a778665
commit 75a9fa0a76
1 changed files with 3 additions and 3 deletions

View File

@ -230,10 +230,10 @@ static struct platform_device *sh7750_devices[] __initdata = {
static int __init sh7750_devices_setup(void) static int __init sh7750_devices_setup(void)
{ {
if (mach_is_rts7751r2d()) { if (mach_is_rts7751r2d()) {
platform_register_device(&scif_device); platform_device_register(&scif_device);
} else { } else {
platform_register_device(&sci_device); platform_device_register(&sci_device);
platform_register_device(&scif_device); platform_device_register(&scif_device);
} }
return platform_add_devices(sh7750_devices, return platform_add_devices(sh7750_devices,