diff options
| author | Laurent Pinchart <[email protected]> | 2017-08-05 01:43:45 +0300 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2017-08-15 15:18:25 +0300 |
| commit | 07e72f9a3f01b370be59ef2cf3ae13e47f696d71 (patch) | |
| tree | 6e6eeb0a2a51ccfdc7bcaf1e25986ead216f6056 /scripts | |
| parent | 3af0b843e5c1b708f21120ee7a13a740ec5e5583 (diff) | |
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 <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions