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

clk: ingenic: Add missing header in cgu.h

The cgu.h has structures that contain 'clk_onecell_data' and 'clk_hw'
structures (no pointers), so the <linux/clk-provider.h> header should be
included.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[sboyd@kernel.org: Drop removal of includes in drivers]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Paul Cercueil and committed by
Stephen Boyd
dbc38ad0 13ad1948

+1
+1
drivers/clk/ingenic/cgu.h
··· 19 19 #define __DRIVERS_CLK_INGENIC_CGU_H__ 20 20 21 21 #include <linux/bitops.h> 22 + #include <linux/clk-provider.h> 22 23 #include <linux/of.h> 23 24 #include <linux/spinlock.h> 24 25