Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: meson8b: Properly include clk.h

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>

+1 -1
+1
drivers/clk/meson/clk-cpu.c
··· 35 35 #include <linux/module.h> 36 36 #include <linux/of_address.h> 37 37 #include <linux/slab.h> 38 + #include <linux/clk.h> 38 39 #include <linux/clk-provider.h> 39 40 40 41 #define MESON_CPU_CLK_CNTL1 0x00
-1
drivers/clk/meson/clkc.c
··· 15 15 * this program. If not, see <http://www.gnu.org/licenses/>. 16 16 */ 17 17 18 - #include <linux/clk.h> 19 18 #include <linux/clk-provider.h> 20 19 #include <linux/mfd/syscon.h> 21 20 #include <linux/slab.h>