diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2010-09-24 10:23:18 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-09-24 10:23:18 -0600 |
commit | f39f4898ac72fec92066f15aef0e7485013482ea (patch) | |
tree | 3f989719e1dd77257fe05e0dcdc8c44c3f58f3d3 /init/do_mounts.h | |
parent | 74ff3a68ed11f1e9eede4fe301f42cc3cdf7396a (diff) |
OMAP: omap_device: Fix to support multiple hwmods for a single device
Currently there is a bug in the existing omap_device core code when
extracting the hwmod structures passed to omap_device_build_ss(). This bug
gets exposed only when passing multiple hwmod structures to
omap_device_build_ss() resulting in incorrect extraction from second hwmod
structure.
This fix uses the pointer to pointer to omap_hwmod structure (array of
pointers to omap_hwmod structure) passed to omap_device_build_ss() to
correctly extract the appropriate omap_hwmod structure.
This patch has been created and tested on lo/master and mainline.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Charulatha V <charu@ti.com>
Cc: Shubhrajyoti D <shubhrajyoti@ti.com>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions