diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-19 15:00:46 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 11:11:07 -0700 |
commit | bb0bf354524d10097271fb26bd92a55c67c0304d (patch) | |
tree | 70906800a4165c6ef01923392ae1238134ca6e2c /drivers/clk/mxs/clk-imx28.c | |
parent | db00c3e5953f5ff7e781d85feef1b3ae9ef13297 (diff) | |
download | op-kernel-dev-bb0bf354524d10097271fb26bd92a55c67c0304d.zip op-kernel-dev-bb0bf354524d10097271fb26bd92a55c67c0304d.tar.gz |
clk: mxs: Include clk.h in C files that use it
Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. The clk.h include is being included in all
mxs files because it's part of mxs/clk.h even though nothing
actually requires it in that file. Move the clk.h include to the
C files that are actually using it and remove the clk.h include
from the header file. The clkdev.h include isn't used either, so
drop it too.
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mxs/clk-imx28.c')
-rw-r--r-- | drivers/clk/mxs/clk-imx28.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c index a686708..6b572b7 100644 --- a/drivers/clk/mxs/clk-imx28.c +++ b/drivers/clk/mxs/clk-imx28.c @@ -9,9 +9,9 @@ * http://www.gnu.org/copyleft/gpl.html */ -#include <linux/clk.h> #include <linux/clk/mxs.h> #include <linux/clkdev.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/err.h> #include <linux/init.h> |