Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1182000 > unrolled thread
| Started by | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| First post | 2015-07-11 01:40 +0200 |
| Last post | 2015-07-13 11:40 +0200 |
| Articles | 20 on this page of 49 — 4 participants |
Back to article view | Back to linux.kernel
[PATCH 00/45] Remove clk.h from clk-provider.h (clk drivers part) Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 31/45] clk: qcom: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 01/45] clk: axi-clkgen: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 16/45] clk: meson8b: Properly include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 39/45] clk: si570: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 30/45] clk: highbank: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 09/45] clk: si5351: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 08/45] clk: rk808: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 06/45] clk: nomadik: Remove clk.h and clkdev.h includes Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 45/45] clk: Remove clk.h from clk-provider.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 15/45] clk: mediatek: Properly include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 21/45] clk: rockchip: Properly include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 23/45] clk: sirf: Properly include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 42/45] clk: samsung: s5pv210-audss: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 27/45] clk: ux500: Remove clk.h and clkdev.h includes Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 34/45] clk: ti: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
Re: [PATCH 34/45] clk: ti: Include clk.h Tero Kristo <t-kristo@ti.com> - 2015-07-13 11:40 +0200
[PATCH 04/45] clk: efm32gg: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
Re: [PATCH 04/45] clk: efm32gg: Remove clk.h include Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2015-07-11 19:30 +0200
[PATCH 44/45] clk: at91: Include clk.h and slab.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 12/45] clk: wm831x: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 25/45] clk: socfpga: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 22/45] clk: samsung: Properly include clk.h and clkdev.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 40/45] clk: ingenic: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 07/45] clk: palmas: Remove clkdev.h includes Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 41/45] clk: pistachio: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 18/45] clk: mvebu: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 33/45] clk: sunxi: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
Re: [PATCH 33/45] clk: sunxi: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-20 20:10 +0200
[PATCH 11/45] clk: u300: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 28/45] clk: versatile: Remove clk.h and clkdev.h includes Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 26/45] clk: tegra: Properly include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 37/45] clk: cdce925: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 02/45] clk: cdce706: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 19/45] clk: mxs: Include clk.h in C files that use it Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 13/45] clk: hisilicon: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 05/45] clk: mux: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 10/45] clk: twl6040: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 29/45] clk: bcm: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
Re: [PATCH 29/45] clk: bcm: Include clk.h Alex Elder <elder@linaro.org> - 2015-07-13 14:50 +0200
[PATCH 17/45] clk: mmp: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 14/45] clk: keystone: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 32/45] clk: st: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 03/45] clk: clps711x: Remove clk.h include Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:40 +0200
[PATCH 36/45] clk: Include clk.h in clk.c Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:50 +0200
[PATCH 38/45] clk: moxart: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:50 +0200
[PATCH 35/45] clk: zynq: Include clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:50 +0200
[PATCH 43/45] clk: ti: Switch clk-provider.h include to clk.h Stephen Boyd <sboyd@codeaurora.org> - 2015-07-11 01:50 +0200
Re: [PATCH 43/45] clk: ti: Switch clk-provider.h include to clk.h Tero Kristo <t-kristo@ti.com> - 2015-07-13 11:40 +0200
Page 1 of 3 [1] 2 3 Next page →
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 00/45] Remove clk.h from clk-provider.h (clk drivers part) |
| Message-ID | <pKQ3D-3Sg-3@gated-at.bofh.it> |
This is the third set in a series of patches that removes clk.h from clk-provider.h. This allows us to clearly see what provider drivers are using the consumer API (clk.h) by checking the includes. Currently clk.h is included by clk-provider.h even though it doesn't need to, so quite a few clk provider drivers are relying on the implicit include. Stephen Boyd (45): clk: axi-clkgen: Remove clk.h include clk: cdce706: Include clk.h clk: clps711x: Remove clk.h include clk: efm32gg: Remove clk.h include clk: mux: Remove clk.h include clk: nomadik: Remove clk.h and clkdev.h includes clk: palmas: Remove clkdev.h includes clk: rk808: Remove clk.h include clk: si5351: Include clk.h clk: twl6040: Remove clk.h include clk: u300: Remove clk.h include clk: wm831x: Remove clk.h include clk: hisilicon: Remove clk.h include clk: keystone: Remove clk.h include clk: mediatek: Properly include clk.h clk: meson8b: Properly include clk.h clk: mmp: Remove clk.h include clk: mvebu: Remove clk.h include clk: mxs: Include clk.h in C files that use it clk: nxp: Remove clk.h include clk: rockchip: Properly include clk.h clk: samsung: Properly include clk.h and clkdev.h clk: sirf: Properly include clk.h clk: socfpga: Remove clk.h and clkdev.h includes clk: socfpga: Remove clk.h include clk: tegra: Properly include clk.h clk: ux500: Remove clk.h and clkdev.h includes clk: versatile: Remove clk.h and clkdev.h includes clk: bcm: Include clk.h clk: highbank: Include clk.h clk: qcom: Include clk.h clk: st: Include clk.h clk: sunxi: Include clk.h clk: ti: Include clk.h clk: zynq: Include clk.h clk: Include clk.h in clk.c clk: cdce925: Include clk.h clk: moxart: Include clk.h clk: si570: Include clk.h clk: ingenic: Include clk.h clk: pistachio: Include clk.h clk: samsung: s5pv210-audss: Include clk.h clk: ti: Switch clk-provider.h include to clk.h clk: at91: Include clk.h and slab.h clk: Remove clk.h from clk-provider.h drivers/clk/at91/clk-slow.c | 2 ++ drivers/clk/bcm/clk-kona.c | 1 + drivers/clk/clk-axi-clkgen.c | 1 - drivers/clk/clk-cdce706.c | 1 + drivers/clk/clk-cdce925.c | 1 + drivers/clk/clk-clps711x.c | 1 - drivers/clk/clk-efm32gg.c | 1 - drivers/clk/clk-highbank.c | 1 + drivers/clk/clk-moxart.c | 1 + drivers/clk/clk-mux.c | 1 - drivers/clk/clk-nomadik.c | 3 +-- drivers/clk/clk-palmas.c | 1 - drivers/clk/clk-rk808.c | 1 - drivers/clk/clk-si5351.c | 2 +- drivers/clk/clk-si570.c | 1 + drivers/clk/clk-twl6040.c | 1 - drivers/clk/clk-u300.c | 2 +- drivers/clk/clk-wm831x.c | 1 - drivers/clk/clk.c | 1 + drivers/clk/hisilicon/clk-hi3620.c | 2 -- drivers/clk/hisilicon/clk-hip04.c | 2 -- drivers/clk/hisilicon/clk.c | 3 +-- drivers/clk/hisilicon/clkgate-separated.c | 2 -- drivers/clk/ingenic/cgu.c | 1 + drivers/clk/keystone/gate.c | 1 - drivers/clk/keystone/pll.c | 1 - drivers/clk/mediatek/clk-gate.h | 3 ++- drivers/clk/mediatek/clk-mt8135.c | 1 + drivers/clk/mediatek/clk-mt8173.c | 1 + drivers/clk/mediatek/clk-mtk.h | 3 ++- drivers/clk/meson/clk-cpu.c | 1 + drivers/clk/meson/clkc.c | 1 - drivers/clk/mmp/clk-apbc.c | 1 - drivers/clk/mmp/clk-apmu.c | 1 - drivers/clk/mmp/clk.c | 3 +-- drivers/clk/mvebu/clk-cpu.c | 3 ++- drivers/clk/mvebu/common.c | 2 +- drivers/clk/mxs/clk-div.c | 1 - drivers/clk/mxs/clk-frac.c | 1 - drivers/clk/mxs/clk-imx23.c | 3 +-- drivers/clk/mxs/clk-imx28.c | 2 +- drivers/clk/mxs/clk-pll.c | 1 - drivers/clk/mxs/clk-ref.c | 1 - drivers/clk/mxs/clk.h | 3 ++- drivers/clk/nxp/clk-lpc18xx-cgu.c | 1 - drivers/clk/pistachio/clk.c | 1 + drivers/clk/qcom/mmcc-msm8960.c | 1 + drivers/clk/rockchip/clk-cpu.c | 1 + drivers/clk/rockchip/clk-mmc-phase.c | 1 + drivers/clk/rockchip/clk-pll.c | 1 - drivers/clk/rockchip/clk-rk3188.c | 1 + drivers/clk/rockchip/clk.h | 4 ++-- drivers/clk/samsung/clk-cpu.c | 3 +++ drivers/clk/samsung/clk-exynos-audss.c | 3 ++- drivers/clk/samsung/clk-exynos-clkout.c | 2 +- drivers/clk/samsung/clk-exynos3250.c | 2 -- drivers/clk/samsung/clk-exynos4.c | 2 +- drivers/clk/samsung/clk-exynos4415.c | 2 -- drivers/clk/samsung/clk-exynos5250.c | 2 -- drivers/clk/samsung/clk-exynos5260.c | 2 -- drivers/clk/samsung/clk-exynos5410.c | 2 -- drivers/clk/samsung/clk-exynos5420.c | 3 +-- drivers/clk/samsung/clk-exynos5433.c | 2 -- drivers/clk/samsung/clk-exynos5440.c | 2 -- drivers/clk/samsung/clk-exynos7.c | 2 -- drivers/clk/samsung/clk-pll.c | 2 ++ drivers/clk/samsung/clk-s3c2410.c | 2 -- drivers/clk/samsung/clk-s3c2412.c | 2 -- drivers/clk/samsung/clk-s3c2443.c | 2 -- drivers/clk/samsung/clk-s3c64xx.c | 2 -- drivers/clk/samsung/clk-s5pv210-audss.c | 2 +- drivers/clk/samsung/clk-s5pv210.c | 2 -- drivers/clk/samsung/clk.c | 4 ++++ drivers/clk/samsung/clk.h | 3 ++- drivers/clk/sirf/clk-atlas6.c | 1 - drivers/clk/sirf/clk-common.c | 2 ++ drivers/clk/sirf/clk-prima2.c | 1 - drivers/clk/socfpga/clk-gate-a10.c | 1 + drivers/clk/socfpga/clk-gate.c | 3 +-- drivers/clk/socfpga/clk-periph-a10.c | 1 + drivers/clk/socfpga/clk-periph.c | 3 +-- drivers/clk/socfpga/clk-pll-a10.c | 1 + drivers/clk/socfpga/clk-pll.c | 3 +-- drivers/clk/socfpga/clk.h | 1 - drivers/clk/spear/spear1310_clock.c | 1 - drivers/clk/spear/spear1340_clock.c | 1 - drivers/clk/spear/spear3xx_clock.c | 1 - drivers/clk/spear/spear6xx_clock.c | 1 - drivers/clk/st/clk-flexgen.c | 1 + drivers/clk/st/clkgen-fsyn.c | 1 + drivers/clk/st/clkgen-mux.c | 1 + drivers/clk/st/clkgen-pll.c | 1 + drivers/clk/sunxi/clk-mod0.c | 3 ++- drivers/clk/sunxi/clk-sun8i-mbus.c | 2 +- drivers/clk/sunxi/clk-sun9i-core.c | 2 +- drivers/clk/sunxi/clk-sun9i-mmc.c | 3 ++- drivers/clk/sunxi/clk-sunxi.c | 2 ++ drivers/clk/sunxi/clk-usb.c | 3 ++- drivers/clk/tegra/clk-divider.c | 1 - drivers/clk/tegra/clk-periph-gate.c | 1 - drivers/clk/tegra/clk-periph.c | 1 - drivers/clk/tegra/clk-pll-out.c | 1 - drivers/clk/tegra/clk-pll.c | 2 +- drivers/clk/tegra/clk-super.c | 1 - drivers/clk/tegra/clk-tegra-audio.c | 1 - drivers/clk/tegra/clk-tegra-fixed.c | 1 - drivers/clk/tegra/clk-tegra-periph.c | 1 - drivers/clk/tegra/clk-tegra-pmc.c | 1 - drivers/clk/tegra/clk-tegra-super-gen4.c | 1 - drivers/clk/tegra/clk-tegra114.c | 2 -- drivers/clk/tegra/clk-tegra124.c | 1 - drivers/clk/tegra/clk-tegra20.c | 1 - drivers/clk/tegra/clk-tegra30.c | 1 - drivers/clk/tegra/clk.c | 1 + drivers/clk/ti/apll.c | 1 + drivers/clk/ti/clk-2xxx.c | 2 +- drivers/clk/ti/clk-33xx.c | 1 + drivers/clk/ti/clk-3xxx-legacy.c | 1 + drivers/clk/ti/clk-3xxx.c | 1 + drivers/clk/ti/clk-43xx.c | 1 + drivers/clk/ti/clk-dra7-atl.c | 1 + drivers/clk/ti/clk.c | 1 + drivers/clk/ti/clockdomain.c | 1 + drivers/clk/ti/dpll.c | 1 + drivers/clk/ti/fapll.c | 1 + drivers/clk/ux500/abx500-clk.c | 1 - drivers/clk/ux500/clk.h | 3 ++- drivers/clk/ux500/u8500_clk.c | 1 - drivers/clk/ux500/u8500_of_clk.c | 2 -- drivers/clk/ux500/u8540_clk.c | 1 - drivers/clk/ux500/u9540_clk.c | 2 -- drivers/clk/versatile/clk-icst.c | 5 +++-- drivers/clk/versatile/clk-impd1.c | 1 - drivers/clk/versatile/clk-realview.c | 1 - drivers/clk/versatile/clk-sp810.c | 3 ++- drivers/clk/versatile/clk-versatile.c | 2 -- drivers/clk/zynq/clkc.c | 1 + include/linux/clk-provider.h | 2 +- include/linux/clk/tegra.h | 3 ++- 139 files changed, 99 insertions(+), 128 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 31/45] clk: qcom: Include clk.h |
| Message-ID | <pKQ3D-3Sg-9@gated-at.bofh.it> |
| In reply to | #1182000 |
This clock provider uses the consumer API, so include clk.h explicitly. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/qcom/mmcc-msm8960.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/mmcc-msm8960.c b/drivers/clk/qcom/mmcc-msm8960.c index 9711bca9cc06..2de05e321ad0 100644 --- a/drivers/clk/qcom/mmcc-msm8960.c +++ b/drivers/clk/qcom/mmcc-msm8960.c @@ -19,6 +19,7 @@ #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/regmap.h> #include <linux/reset-controller.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 01/45] clk: axi-clkgen: Remove clk.h include |
| Message-ID | <pKQ3D-3Sg-11@gated-at.bofh.it> |
| In reply to | #1182000 |
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/clk-axi-clkgen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-axi-clkgen.c b/drivers/clk/clk-axi-clkgen.c index e619285c6def..3bcd42fbb55e 100644 --- a/drivers/clk/clk-axi-clkgen.c +++ b/drivers/clk/clk-axi-clkgen.c @@ -10,7 +10,6 @@ #include <linux/platform_device.h> #include <linux/clk-provider.h> -#include <linux/clk.h> #include <linux/slab.h> #include <linux/io.h> #include <linux/of.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 16/45] clk: meson8b: Properly include clk.h |
| Message-ID | <pKQ3D-3Sg-13@gated-at.bofh.it> |
| In reply to | #1182000 |
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include clk.h if it's actually used. Cc: Carlo Caione <carlo@endlessm.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/meson/clk-cpu.c | 1 + drivers/clk/meson/clkc.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/clk-cpu.c b/drivers/clk/meson/clk-cpu.c index 71ad493b94df..f7c30ea54ca8 100644 --- a/drivers/clk/meson/clk-cpu.c +++ b/drivers/clk/meson/clk-cpu.c @@ -35,6 +35,7 @@ #include <linux/module.h> #include <linux/of_address.h> #include <linux/slab.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #define MESON_CPU_CLK_CNTL1 0x00 diff --git a/drivers/clk/meson/clkc.c b/drivers/clk/meson/clkc.c index b8c511c5e7a7..c83ae1367abc 100644 --- a/drivers/clk/meson/clkc.c +++ b/drivers/clk/meson/clkc.c @@ -15,7 +15,6 @@ * this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/mfd/syscon.h> #include <linux/slab.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 39/45] clk: si570: Include clk.h |
| Message-ID | <pKQ3E-3Sg-19@gated-at.bofh.it> |
| In reply to | #1182000 |
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Guenter Roeck <linux@roeck-us.net> Cc: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/clk-si570.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-si570.c b/drivers/clk/clk-si570.c index 20a5aec98b1a..cf478aa9fa5d 100644 --- a/drivers/clk/clk-si570.c +++ b/drivers/clk/clk-si570.c @@ -19,6 +19,7 @@ * GNU General Public License for more details. */ +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/delay.h> #include <linux/module.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 30/45] clk: highbank: Include clk.h |
| Message-ID | <pKQ3E-3Sg-21@gated-at.bofh.it> |
| In reply to | #1182000 |
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/clk-highbank.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-highbank.c b/drivers/clk/clk-highbank.c index 2e7e9d9798cb..be3a21abb185 100644 --- a/drivers/clk/clk-highbank.c +++ b/drivers/clk/clk-highbank.c @@ -17,6 +17,7 @@ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/err.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/io.h> #include <linux/of.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 09/45] clk: si5351: Include clk.h |
| Message-ID | <pKQ3E-3Sg-23@gated-at.bofh.it> |
| In reply to | #1182000 |
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/clk-si5351.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c index e39e1e680b3c..9e6de57eae3b 100644 --- a/drivers/clk/clk-si5351.c +++ b/drivers/clk/clk-si5351.c @@ -18,7 +18,7 @@ #include <linux/module.h> #include <linux/kernel.h> -#include <linux/clkdev.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/delay.h> #include <linux/err.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 08/45] clk: rk808: Remove clk.h include |
| Message-ID | <pKQ3E-3Sg-25@gated-at.bofh.it> |
| In reply to | #1182000 |
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Chris Zhong <zyw@rock-chips.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/clk-rk808.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-rk808.c b/drivers/clk/clk-rk808.c index 83902b9cd49e..0fee2f4ca258 100644 --- a/drivers/clk/clk-rk808.c +++ b/drivers/clk/clk-rk808.c @@ -15,7 +15,6 @@ * more details. */ -#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/module.h> #include <linux/slab.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 06/45] clk: nomadik: Remove clk.h and clkdev.h includes |
| Message-ID | <pKQ3E-3Sg-27@gated-at.bofh.it> |
| In reply to | #1182000 |
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. This driver also includes clkdev.h even though it isn't used, so drop it too and add slab.h to make sure everything still compiles. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/clk-nomadik.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c index c9487179f25f..e4d8a991c58f 100644 --- a/drivers/clk/clk-nomadik.c +++ b/drivers/clk/clk-nomadik.c @@ -8,8 +8,7 @@ #define pr_fmt(fmt) "Nomadik SRC clocks: " fmt #include <linux/bitops.h> -#include <linux/clk.h> -#include <linux/clkdev.h> +#include <linux/slab.h> #include <linux/err.h> #include <linux/io.h> #include <linux/clk-provider.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 45/45] clk: Remove clk.h from clk-provider.h |
| Message-ID | <pKQ3E-3Sg-29@gated-at.bofh.it> |
| In reply to | #1182000 |
Remove clk.h from clk-provider.h so that we can clearly split clk providers from clk consumers. This will allow us to quickly detect when clock providers are using the consumer APIs by looking at the includes. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- include/linux/clk-provider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 78842f46f152..36fa555ff431 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -11,7 +11,6 @@ #ifndef __LINUX_CLK_PROVIDER_H #define __LINUX_CLK_PROVIDER_H -#include <linux/clk.h> #include <linux/io.h> #include <linux/of.h> @@ -33,6 +32,7 @@ #define CLK_GET_ACCURACY_NOCACHE BIT(8) /* do not use the cached clk accuracy */ #define CLK_RECALC_NEW_RATES BIT(9) /* recalc rates after notifications */ +struct clk; struct clk_hw; struct clk_core; struct dentry; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 15/45] clk: mediatek: Properly include clk.h |
| Message-ID | <pKQ3E-3Sg-31@gated-at.bofh.it> |
| In reply to | #1182000 |
We don't need to include clk.h in header files, just forward
declare struct clk here. This leads us to a few places where the
include of clk.h was missing in C files. Add them.
Cc: James Liao <jamesjj.liao@mediatek.com>
Cc: Henry Chen <henryc.chen@mediatek.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
drivers/clk/mediatek/clk-gate.h | 3 ++-
drivers/clk/mediatek/clk-mt8135.c | 1 +
drivers/clk/mediatek/clk-mt8173.c | 1 +
drivers/clk/mediatek/clk-mtk.h | 3 ++-
4 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/mediatek/clk-gate.h b/drivers/clk/mediatek/clk-gate.h
index 6b6780b1e9c5..11e25c992948 100644
--- a/drivers/clk/mediatek/clk-gate.h
+++ b/drivers/clk/mediatek/clk-gate.h
@@ -16,9 +16,10 @@
#define __DRV_CLK_GATE_H
#include <linux/regmap.h>
-#include <linux/clk.h>
#include <linux/clk-provider.h>
+struct clk;
+
struct mtk_clk_gate {
struct clk_hw hw;
struct regmap *regmap;
diff --git a/drivers/clk/mediatek/clk-mt8135.c b/drivers/clk/mediatek/clk-mt8135.c
index 08b4b849b491..07c21e44b4b3 100644
--- a/drivers/clk/mediatek/clk-mt8135.c
+++ b/drivers/clk/mediatek/clk-mt8135.c
@@ -12,6 +12,7 @@
* GNU General Public License for more details.
*/
+#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/slab.h>
diff --git a/drivers/clk/mediatek/clk-mt8173.c b/drivers/clk/mediatek/clk-mt8173.c
index 4b9e04cdf7e8..2e0f17be9ea0 100644
--- a/drivers/clk/mediatek/clk-mt8173.c
+++ b/drivers/clk/mediatek/clk-mt8173.c
@@ -12,6 +12,7 @@
* GNU General Public License for more details.
*/
+#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/slab.h>
diff --git a/drivers/clk/mediatek/clk-mtk.h b/drivers/clk/mediatek/clk-mtk.h
index 9dda9d8ad10b..624716c4776b 100644
--- a/drivers/clk/mediatek/clk-mtk.h
+++ b/drivers/clk/mediatek/clk-mtk.h
@@ -17,9 +17,10 @@
#include <linux/regmap.h>
#include <linux/bitops.h>
-#include <linux/clk.h>
#include <linux/clk-provider.h>
+struct clk;
+
#define MAX_MUX_GATE_BIT 31
#define INVALID_MUX_GATE_BIT (MAX_MUX_GATE_BIT + 1)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 21/45] clk: rockchip: Properly include clk.h |
| Message-ID | <pKQ3E-3Sg-33@gated-at.bofh.it> |
| In reply to | #1182000 |
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include clk.h if it's actually used. Cc: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/rockchip/clk-cpu.c | 1 + drivers/clk/rockchip/clk-mmc-phase.c | 1 + drivers/clk/rockchip/clk-pll.c | 1 - drivers/clk/rockchip/clk-rk3188.c | 1 + drivers/clk/rockchip/clk.h | 4 ++-- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/clk/rockchip/clk-cpu.c b/drivers/clk/rockchip/clk-cpu.c index fb7721bd37e6..330870a6d8bf 100644 --- a/drivers/clk/rockchip/clk-cpu.c +++ b/drivers/clk/rockchip/clk-cpu.c @@ -35,6 +35,7 @@ #include <linux/of.h> #include <linux/slab.h> #include <linux/io.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include "clk.h" diff --git a/drivers/clk/rockchip/clk-mmc-phase.c b/drivers/clk/rockchip/clk-mmc-phase.c index e9f8df324e7c..3244c6e391d7 100644 --- a/drivers/clk/rockchip/clk-mmc-phase.c +++ b/drivers/clk/rockchip/clk-mmc-phase.c @@ -14,6 +14,7 @@ */ #include <linux/slab.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include "clk.h" diff --git a/drivers/clk/rockchip/clk-pll.c b/drivers/clk/rockchip/clk-pll.c index 76027261f7ed..1f88dd158b93 100644 --- a/drivers/clk/rockchip/clk-pll.c +++ b/drivers/clk/rockchip/clk-pll.c @@ -17,7 +17,6 @@ #include <linux/slab.h> #include <linux/io.h> #include <linux/delay.h> -#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/regmap.h> #include "clk.h" diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index e4f9d472f1ff..91ea848c9d18 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */ +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/of.h> #include <linux/of_address.h> diff --git a/drivers/clk/rockchip/clk.h b/drivers/clk/rockchip/clk.h index 6b092673048a..1b16781b67c5 100644 --- a/drivers/clk/rockchip/clk.h +++ b/drivers/clk/rockchip/clk.h @@ -24,8 +24,8 @@ #define CLK_ROCKCHIP_CLK_H #include <linux/io.h> -#include <linux/clk.h> -#include <linux/clk-provider.h> + +struct clk; #define HIWORD_UPDATE(val, mask, shift) \ ((val) << (shift) | (mask) << ((shift) + 16)) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 23/45] clk: sirf: Properly include clk.h |
| Message-ID | <pKQ3E-3Sg-35@gated-at.bofh.it> |
| In reply to | #1182000 |
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Move the include of clk.h into clk-common.c because that's the only file that's really using clk.h, even if it's included into the atlas6 and prima2 files. Cc: Barry Song <Baohua.Song@csr.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/sirf/clk-atlas6.c | 1 - drivers/clk/sirf/clk-common.c | 2 ++ drivers/clk/sirf/clk-prima2.c | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sirf/clk-atlas6.c b/drivers/clk/sirf/clk-atlas6.c index d63b76ca60c3..c5eaa9d16247 100644 --- a/drivers/clk/sirf/clk-atlas6.c +++ b/drivers/clk/sirf/clk-atlas6.c @@ -10,7 +10,6 @@ #include <linux/module.h> #include <linux/bitops.h> #include <linux/io.h> -#include <linux/clk.h> #include <linux/clkdev.h> #include <linux/clk-provider.h> #include <linux/of_address.h> diff --git a/drivers/clk/sirf/clk-common.c b/drivers/clk/sirf/clk-common.c index 9fc285d784d3..2f64d4beeb52 100644 --- a/drivers/clk/sirf/clk-common.c +++ b/drivers/clk/sirf/clk-common.c @@ -7,6 +7,8 @@ * Licensed under GPLv2 or later. */ +#include <linux/clk.h> + #define KHZ 1000 #define MHZ (KHZ * KHZ) diff --git a/drivers/clk/sirf/clk-prima2.c b/drivers/clk/sirf/clk-prima2.c index 6968e2ebcd8a..f92c40264342 100644 --- a/drivers/clk/sirf/clk-prima2.c +++ b/drivers/clk/sirf/clk-prima2.c @@ -10,7 +10,6 @@ #include <linux/module.h> #include <linux/bitops.h> #include <linux/io.h> -#include <linux/clk.h> #include <linux/clkdev.h> #include <linux/clk-provider.h> #include <linux/of_address.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 42/45] clk: samsung: s5pv210-audss: Include clk.h |
| Message-ID | <pKQ3E-3Sg-37@gated-at.bofh.it> |
| In reply to | #1182000 |
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/samsung/clk-s5pv210-audss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-s5pv210-audss.c b/drivers/clk/samsung/clk-s5pv210-audss.c index de4455b75e8a..eefb84b22566 100644 --- a/drivers/clk/samsung/clk-s5pv210-audss.c +++ b/drivers/clk/samsung/clk-s5pv210-audss.c @@ -13,8 +13,8 @@ * Driver for Audio Subsystem Clock Controller of S5PV210-compatible SoCs. */ -#include <linux/clkdev.h> #include <linux/io.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/of_address.h> #include <linux/syscore_ops.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 27/45] clk: ux500: Remove clk.h and clkdev.h includes |
| Message-ID | <pKQ3E-3Sg-39@gated-at.bofh.it> |
| In reply to | #1182000 |
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Also remove clkdev.h in files that aren't using it. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/ux500/abx500-clk.c | 1 - drivers/clk/ux500/clk.h | 3 ++- drivers/clk/ux500/u8500_clk.c | 1 - drivers/clk/ux500/u8500_of_clk.c | 2 -- drivers/clk/ux500/u8540_clk.c | 1 - drivers/clk/ux500/u9540_clk.c | 2 -- 6 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/clk/ux500/abx500-clk.c b/drivers/clk/ux500/abx500-clk.c index 3e5e05101302..222425d08ab6 100644 --- a/drivers/clk/ux500/abx500-clk.c +++ b/drivers/clk/ux500/abx500-clk.c @@ -13,7 +13,6 @@ #include <linux/platform_device.h> #include <linux/mfd/abx500/ab8500.h> #include <linux/mfd/abx500/ab8500-sysctrl.h> -#include <linux/clk.h> #include <linux/clkdev.h> #include <linux/clk-provider.h> #include <linux/mfd/dbx500-prcmu.h> diff --git a/drivers/clk/ux500/clk.h b/drivers/clk/ux500/clk.h index a2bb92d85ee0..b42485da704e 100644 --- a/drivers/clk/ux500/clk.h +++ b/drivers/clk/ux500/clk.h @@ -10,10 +10,11 @@ #ifndef __UX500_CLK_H #define __UX500_CLK_H -#include <linux/clk.h> #include <linux/device.h> #include <linux/types.h> +struct clk; + struct clk *clk_reg_prcc_pclk(const char *name, const char *parent_name, resource_size_t phy_base, diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c index 4626b97b7d83..1c7b639d9222 100644 --- a/drivers/clk/ux500/u8500_clk.c +++ b/drivers/clk/ux500/u8500_clk.c @@ -7,7 +7,6 @@ * License terms: GNU General Public License (GPL) version 2 */ -#include <linux/clk.h> #include <linux/clkdev.h> #include <linux/clk-provider.h> #include <linux/mfd/dbx500-prcmu.h> diff --git a/drivers/clk/ux500/u8500_of_clk.c b/drivers/clk/ux500/u8500_of_clk.c index e319ef912dc6..c3e3b20e4b43 100644 --- a/drivers/clk/ux500/u8500_of_clk.c +++ b/drivers/clk/ux500/u8500_of_clk.c @@ -8,8 +8,6 @@ */ #include <linux/of.h> -#include <linux/clk.h> -#include <linux/clkdev.h> #include <linux/clk-provider.h> #include <linux/mfd/dbx500-prcmu.h> #include <linux/platform_data/clk-ux500.h> diff --git a/drivers/clk/ux500/u8540_clk.c b/drivers/clk/ux500/u8540_clk.c index 20c8add90d11..d0de335ea1e9 100644 --- a/drivers/clk/ux500/u8540_clk.c +++ b/drivers/clk/ux500/u8540_clk.c @@ -7,7 +7,6 @@ * License terms: GNU General Public License (GPL) version 2 */ -#include <linux/clk.h> #include <linux/clkdev.h> #include <linux/clk-provider.h> #include <linux/mfd/dbx500-prcmu.h> diff --git a/drivers/clk/ux500/u9540_clk.c b/drivers/clk/ux500/u9540_clk.c index 44794782e7e0..179bd3871b34 100644 --- a/drivers/clk/ux500/u9540_clk.c +++ b/drivers/clk/ux500/u9540_clk.c @@ -7,8 +7,6 @@ * License terms: GNU General Public License (GPL) version 2 */ -#include <linux/clk.h> -#include <linux/clkdev.h> #include <linux/clk-provider.h> #include <linux/mfd/dbx500-prcmu.h> #include <linux/platform_data/clk-ux500.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 34/45] clk: ti: Include clk.h |
| Message-ID | <pKQ3F-3Sg-41@gated-at.bofh.it> |
| In reply to | #1182000 |
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Tero Kristo <t-kristo@ti.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/ti/apll.c | 1 + drivers/clk/ti/clk-33xx.c | 1 + drivers/clk/ti/clk-3xxx-legacy.c | 1 + drivers/clk/ti/clk-3xxx.c | 1 + drivers/clk/ti/clk-43xx.c | 1 + drivers/clk/ti/clk-dra7-atl.c | 1 + drivers/clk/ti/clk.c | 1 + drivers/clk/ti/clockdomain.c | 1 + drivers/clk/ti/dpll.c | 1 + drivers/clk/ti/fapll.c | 1 + 10 files changed, 10 insertions(+) diff --git a/drivers/clk/ti/apll.c b/drivers/clk/ti/apll.c index 49baf3831546..671f4d89db93 100644 --- a/drivers/clk/ti/apll.c +++ b/drivers/clk/ti/apll.c @@ -15,6 +15,7 @@ * GNU General Public License for more details. */ +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/module.h> #include <linux/slab.h> diff --git a/drivers/clk/ti/clk-33xx.c b/drivers/clk/ti/clk-33xx.c index 028b33783d38..9616bcdba220 100644 --- a/drivers/clk/ti/clk-33xx.c +++ b/drivers/clk/ti/clk-33xx.c @@ -16,6 +16,7 @@ #include <linux/kernel.h> #include <linux/list.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/clk/ti.h> diff --git a/drivers/clk/ti/clk-3xxx-legacy.c b/drivers/clk/ti/clk-3xxx-legacy.c index 0b61548d569b..0fbf8a917955 100644 --- a/drivers/clk/ti/clk-3xxx-legacy.c +++ b/drivers/clk/ti/clk-3xxx-legacy.c @@ -15,6 +15,7 @@ */ #include <linux/kernel.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/clk/ti.h> diff --git a/drivers/clk/ti/clk-3xxx.c b/drivers/clk/ti/clk-3xxx.c index 757636d166cf..5df21b258658 100644 --- a/drivers/clk/ti/clk-3xxx.c +++ b/drivers/clk/ti/clk-3xxx.c @@ -16,6 +16,7 @@ #include <linux/kernel.h> #include <linux/list.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/clk/ti.h> diff --git a/drivers/clk/ti/clk-43xx.c b/drivers/clk/ti/clk-43xx.c index 3795fce8a830..39a594c0d100 100644 --- a/drivers/clk/ti/clk-43xx.c +++ b/drivers/clk/ti/clk-43xx.c @@ -16,6 +16,7 @@ #include <linux/kernel.h> #include <linux/list.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/clk/ti.h> diff --git a/drivers/clk/ti/clk-dra7-atl.c b/drivers/clk/ti/clk-dra7-atl.c index 19e543a32e2b..2e14dfb588f4 100644 --- a/drivers/clk/ti/clk-dra7-atl.c +++ b/drivers/clk/ti/clk-dra7-atl.c @@ -16,6 +16,7 @@ */ #include <linux/module.h> +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/slab.h> #include <linux/io.h> diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c index 64bb5e8a3b8c..7132cec33f00 100644 --- a/drivers/clk/ti/clk.c +++ b/drivers/clk/ti/clk.c @@ -15,6 +15,7 @@ * GNU General Public License for more details. */ +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/clkdev.h> #include <linux/clk/ti.h> diff --git a/drivers/clk/ti/clockdomain.c b/drivers/clk/ti/clockdomain.c index b82ef07f3403..41eb5d105846 100644 --- a/drivers/clk/ti/clockdomain.c +++ b/drivers/clk/ti/clockdomain.c @@ -15,6 +15,7 @@ * GNU General Public License for more details. */ +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/slab.h> #include <linux/of.h> diff --git a/drivers/clk/ti/dpll.c b/drivers/clk/ti/dpll.c index 2aacf7a3bcae..74e94b9bae55 100644 --- a/drivers/clk/ti/dpll.c +++ b/drivers/clk/ti/dpll.c @@ -15,6 +15,7 @@ * GNU General Public License for more details. */ +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/slab.h> #include <linux/err.h> diff --git a/drivers/clk/ti/fapll.c b/drivers/clk/ti/fapll.c index 730aa62454a2..f158c2ab019d 100644 --- a/drivers/clk/ti/fapll.c +++ b/drivers/clk/ti/fapll.c @@ -9,6 +9,7 @@ * GNU General Public License for more details. */ +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/delay.h> #include <linux/err.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Tero Kristo <t-kristo@ti.com> |
|---|---|
| Date | 2015-07-13 11:40 +0200 |
| Subject | Re: [PATCH 34/45] clk: ti: Include clk.h |
| Message-ID | <pLInq-3kU-31@gated-at.bofh.it> |
| In reply to | #1182015 |
On 07/11/2015 02:33 AM, Stephen Boyd wrote: > This clock provider uses the consumer API, so include clk.h > explicitly. > > Cc: Tero Kristo <t-kristo@ti.com> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Tero Kristo <t-kristo@ti.com> > --- > drivers/clk/ti/apll.c | 1 + > drivers/clk/ti/clk-33xx.c | 1 + > drivers/clk/ti/clk-3xxx-legacy.c | 1 + > drivers/clk/ti/clk-3xxx.c | 1 + > drivers/clk/ti/clk-43xx.c | 1 + > drivers/clk/ti/clk-dra7-atl.c | 1 + > drivers/clk/ti/clk.c | 1 + > drivers/clk/ti/clockdomain.c | 1 + > drivers/clk/ti/dpll.c | 1 + > drivers/clk/ti/fapll.c | 1 + > 10 files changed, 10 insertions(+) > > diff --git a/drivers/clk/ti/apll.c b/drivers/clk/ti/apll.c > index 49baf3831546..671f4d89db93 100644 > --- a/drivers/clk/ti/apll.c > +++ b/drivers/clk/ti/apll.c > @@ -15,6 +15,7 @@ > * GNU General Public License for more details. > */ > > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/module.h> > #include <linux/slab.h> > diff --git a/drivers/clk/ti/clk-33xx.c b/drivers/clk/ti/clk-33xx.c > index 028b33783d38..9616bcdba220 100644 > --- a/drivers/clk/ti/clk-33xx.c > +++ b/drivers/clk/ti/clk-33xx.c > @@ -16,6 +16,7 @@ > > #include <linux/kernel.h> > #include <linux/list.h> > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/clk/ti.h> > > diff --git a/drivers/clk/ti/clk-3xxx-legacy.c b/drivers/clk/ti/clk-3xxx-legacy.c > index 0b61548d569b..0fbf8a917955 100644 > --- a/drivers/clk/ti/clk-3xxx-legacy.c > +++ b/drivers/clk/ti/clk-3xxx-legacy.c > @@ -15,6 +15,7 @@ > */ > > #include <linux/kernel.h> > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/clk/ti.h> > > diff --git a/drivers/clk/ti/clk-3xxx.c b/drivers/clk/ti/clk-3xxx.c > index 757636d166cf..5df21b258658 100644 > --- a/drivers/clk/ti/clk-3xxx.c > +++ b/drivers/clk/ti/clk-3xxx.c > @@ -16,6 +16,7 @@ > > #include <linux/kernel.h> > #include <linux/list.h> > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/clk/ti.h> > > diff --git a/drivers/clk/ti/clk-43xx.c b/drivers/clk/ti/clk-43xx.c > index 3795fce8a830..39a594c0d100 100644 > --- a/drivers/clk/ti/clk-43xx.c > +++ b/drivers/clk/ti/clk-43xx.c > @@ -16,6 +16,7 @@ > > #include <linux/kernel.h> > #include <linux/list.h> > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/clk/ti.h> > > diff --git a/drivers/clk/ti/clk-dra7-atl.c b/drivers/clk/ti/clk-dra7-atl.c > index 19e543a32e2b..2e14dfb588f4 100644 > --- a/drivers/clk/ti/clk-dra7-atl.c > +++ b/drivers/clk/ti/clk-dra7-atl.c > @@ -16,6 +16,7 @@ > */ > > #include <linux/module.h> > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/slab.h> > #include <linux/io.h> > diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c > index 64bb5e8a3b8c..7132cec33f00 100644 > --- a/drivers/clk/ti/clk.c > +++ b/drivers/clk/ti/clk.c > @@ -15,6 +15,7 @@ > * GNU General Public License for more details. > */ > > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/clkdev.h> > #include <linux/clk/ti.h> > diff --git a/drivers/clk/ti/clockdomain.c b/drivers/clk/ti/clockdomain.c > index b82ef07f3403..41eb5d105846 100644 > --- a/drivers/clk/ti/clockdomain.c > +++ b/drivers/clk/ti/clockdomain.c > @@ -15,6 +15,7 @@ > * GNU General Public License for more details. > */ > > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/slab.h> > #include <linux/of.h> > diff --git a/drivers/clk/ti/dpll.c b/drivers/clk/ti/dpll.c > index 2aacf7a3bcae..74e94b9bae55 100644 > --- a/drivers/clk/ti/dpll.c > +++ b/drivers/clk/ti/dpll.c > @@ -15,6 +15,7 @@ > * GNU General Public License for more details. > */ > > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/slab.h> > #include <linux/err.h> > diff --git a/drivers/clk/ti/fapll.c b/drivers/clk/ti/fapll.c > index 730aa62454a2..f158c2ab019d 100644 > --- a/drivers/clk/ti/fapll.c > +++ b/drivers/clk/ti/fapll.c > @@ -9,6 +9,7 @@ > * GNU General Public License for more details. > */ > > +#include <linux/clk.h> > #include <linux/clk-provider.h> > #include <linux/delay.h> > #include <linux/err.h> > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 04/45] clk: efm32gg: Remove clk.h include |
| Message-ID | <pKQ3F-3Sg-43@gated-at.bofh.it> |
| In reply to | #1182000 |
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/clk-efm32gg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-efm32gg.c b/drivers/clk/clk-efm32gg.c index 73a8d0ff530c..bac4553f04b8 100644 --- a/drivers/clk/clk-efm32gg.c +++ b/drivers/clk/clk-efm32gg.c @@ -6,7 +6,6 @@ * the terms of the GNU General Public License version 2 as published by the * Free Software Foundation. */ -#include <linux/clk.h> #include <linux/io.h> #include <linux/clk-provider.h> #include <linux/of.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|---|
| Date | 2015-07-11 19:30 +0200 |
| Subject | Re: [PATCH 04/45] clk: efm32gg: Remove clk.h include |
| Message-ID | <pL6L9-5V0-7@gated-at.bofh.it> |
| In reply to | #1182016 |
On Fri, Jul 10, 2015 at 04:33:02PM -0700, Stephen Boyd wrote: > Clock provider drivers generally shouldn't include clk.h because > it's the consumer API. Remove the include here because this is a > provider driver. > > Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Still compiles with your change, so fine. Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-07-11 01:40 +0200 |
| Subject | [PATCH 44/45] clk: at91: Include clk.h and slab.h |
| Message-ID | <pKQ3F-3Sg-45@gated-at.bofh.it> |
| In reply to | #1182000 |
This clock provider uses the consumer API, so include clk.h explicitly. Also include slab.h instead of relying on clkdev.h for it. Cc: Boris BREZILLON <boris.brezillon@free-electrons.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> --- drivers/clk/at91/clk-slow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/at91/clk-slow.c b/drivers/clk/at91/clk-slow.c index 98a84a865fe1..0a7aef39ab5b 100644 --- a/drivers/clk/at91/clk-slow.c +++ b/drivers/clk/at91/clk-slow.c @@ -10,8 +10,10 @@ * */ +#include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/clkdev.h> +#include <linux/slab.h> #include <linux/clk/at91_pmc.h> #include <linux/delay.h> #include <linux/of.h> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
Page 1 of 3 [1] 2 3 Next page →
Back to top | Article view | linux.kernel
csiph-web