linux/arch/arm/mach-omap2
Laurent Pinchart 07e72f9a3f ARM: OMAP2+: Register SoC device attributes from machine .init()
SoC device attributes are registered with a call to
soc_device_register() from the machine .init_late() operation, which is
called from the late initcall, after all drivers built-in drivers have
been probed. This results in the impossibility for drivers to use SoC
device matching in their probe function.

The omap_soc_device_init() function is safe to call from the machine
.init() operation, as all data it depends on is initialized from the
.init_early() operation. Move SoC device attribute registration to
machine .init() like on all other ARM platforms.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-08-15 15:18:25 +03:00
..
2014-01-17 12:35:48 -08:00
2017-07-17 15:04:47 +02:00
2017-07-17 15:04:47 +02:00
2015-07-16 00:06:05 -07:00
2016-11-10 12:42:49 -07:00
2015-07-20 10:52:36 -07:00
2017-06-29 23:30:18 -07:00
2016-06-10 04:17:07 -07:00
2016-05-18 12:35:46 -07:00
2017-07-04 14:34:51 -07:00