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

Commit dbefd606 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt
Browse files

sh: fix i2c init order on ap325rxa V2



Convert the AP325RXA board code to register devices at
arch_initcall() time instead of device_initcall(). This
fix unbreaks pcf8563 RTC driver support.

Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent ba3a1701
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -547,7 +547,7 @@ static int __init ap325rxa_devices_setup(void)
	return platform_add_devices(ap325rxa_devices,
	return platform_add_devices(ap325rxa_devices,
				ARRAY_SIZE(ap325rxa_devices));
				ARRAY_SIZE(ap325rxa_devices));
}
}
device_initcall(ap325rxa_devices_setup);
arch_initcall(ap325rxa_devices_setup);


/* Return the board specific boot mode pin configuration */
/* Return the board specific boot mode pin configuration */
static int ap325rxa_mode_pins(void)
static int ap325rxa_mode_pins(void)