summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-cm-t35.c
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2011-02-25 23:40:21 +0100
committerPaul Walmsley <paul@pwsan.com>2011-03-02 00:36:38 +0100
commitda0653fe01cd4c6ed402a94752b78be62cb39282 (patch)
tree3d981c94727963b7a52ab038f7a791418d7d851c /arch/arm/mach-omap2/board-cm-t35.c
parentLinux 2.6.38-rc7 (diff)
downloadlinux-da0653fe01cd4c6ed402a94752b78be62cb39282.tar.xz
linux-da0653fe01cd4c6ed402a94752b78be62cb39282.zip
OMAP2+: omap_device/clock: Do not expect an entry in clkdev for opt_clks
The _add_optional_clock_alias function expects an entry already existing in the clkdev table in the form of <dev-id=NULL, con-id=role> which might not be the case always. Instead, just check if an entry already exists in clkdev in the <dev-id=dev_name, con-id=role> form, else go ahead and add one. Remove any assumption of an entry already existing in clkdev table in any form. Since this means, adding a new entry in clkdev if it does not already exist, and not really adding an 'alias', also rename the function name (s/_add_optional_clock_alias/_add_optional_clock_clkdev) to reflect this. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Reported-by: Sumit Semwal <sumit.semwal@ti.com> Cc: Sumit Semwal <sumit.semwal@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Benoit Cousson <b-cousson@ti.com> Cc: Kevin Hilman <khilman@ti.com> Cc: Partha Basak <p-basak2@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
0 files changed, 0 insertions, 0 deletions