]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ARM: OMAP: omap_device: keep track of driver bound status
authorKevin Hilman <khilman@ti.com>
Tue, 10 Jul 2012 18:13:16 +0000 (11:13 -0700)
committerKevin Hilman <khilman@ti.com>
Wed, 12 Sep 2012 17:51:49 +0000 (10:51 -0700)
commite753345bec8fef81d1e87710917f89dc75f39b2a
tree16ea644456b7caf76baf9bae2fb9c9228778a2cb
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
ARM: OMAP: omap_device: keep track of driver bound status

Use the bus notifier to keep track of driver bound status by adding a
new internal field to struct omap_device: _driver_status.

This will be useful for follow-up patches which need to know whether
or not a driver is bound in order to make intelligent omap_device
enable/idle decisions.

Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/include/plat/omap_device.h
arch/arm/plat-omap/omap_device.c