Commit e7c2b477 authored by Michael Bohan's avatar Michael Bohan
Browse files

msm: board-copper: Add the ability to probe devices in order



Add a mechanism to allow for select devices to be probed early
and in order. This works by invoking specific driver init
routines in arch_init, before the vast majority of the drivers
are added in device_init. Invoke this new init routine after all
devices are added, and thus probe devices mapped to these
drivers before any others.

This approach does not solve the problem where multiple devices
using the same driver have dependencies between them.

Also add the stub-regulator driver to be the first member of this
new init routine. This driver supports devices that are required
early on.

Change-Id: Ib39e3111c8feb407eb8283b991ffe796dbbb5b90
Signed-off-by: default avatarMichael Bohan <mbohan@codeaurora.org>
parent 83b00655
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment