]> git.baikalelectronics.ru Git - kernel.git/commit
clk: wrap I/O access for improved portability
authorGerhard Sittig <gsi@denx.de>
Mon, 22 Jul 2013 12:14:40 +0000 (14:14 +0200)
committerMike Turquette <mturquette@linaro.org>
Wed, 28 Aug 2013 00:50:38 +0000 (17:50 -0700)
commit610db7ba6c279c54c237e9684286fbb2752151cf
tree6d83d3f8e7560e5cd46fafe39960cd78cdfdc815
parentdb8460b76a40549d1c9199606ee793eff2195c9a
clk: wrap I/O access for improved portability

the common clock drivers were motivated/initiated by ARM development
and apparently assume little endian peripherals

wrap register/peripherals access in the common code (div, gate, mux)
in preparation of adding COMMON_CLK support for other platforms

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-divider.c
drivers/clk/clk-gate.c
drivers/clk/clk-mux.c
include/linux/clk-provider.h