Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75a9fa0a authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Paul Mundt
Browse files

sh: Fix build of sh7750 base boards



Renamed platform_register_device to platform_device_register.

Signed-off-by: default avatarNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 8a5a7786
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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,