OpenCloudOS-Kernel/drivers/clk/ingenic
Stephen Boyd e480fe10ad clk: ingenic: Mark ingenic_tcu_of_match as __maybe_unused
This device id table is passed to of_match_node() later on in probe, but
on CONFIG_OF=n builds of_match_node() doesn't do anything with the
arguments. Lets just mark the table unused so that the compiler doesn't
complain about this.

drivers/clk/ingenic/tcu.c:326:34: warning: unused variable 'ingenic_tcu_of_match' [-Wunused-const-variable]
static const struct of_device_id ingenic_tcu_of_match[] __initconst = {
^
1 warning generated.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20200528233837.70269-1-sboyd@kernel.org
2020-05-28 16:47:02 -07:00
..
Kconfig clk: Ingenic: Add CGU driver for X1830. 2020-05-28 16:13:19 -07:00
Makefile clk: Ingenic: Add CGU driver for X1830. 2020-05-28 16:13:19 -07:00
cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
cgu.h clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4725b-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4740-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4770-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4780-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
pm.c clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
pm.h clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
tcu.c clk: ingenic: Mark ingenic_tcu_of_match as __maybe_unused 2020-05-28 16:47:02 -07:00
x1000-cgu.c clk: X1000: Add FIXDIV for SSI clock of X1000. 2020-05-28 16:13:19 -07:00
x1830-cgu.c clk: Ingenic: Add CGU driver for X1830. 2020-05-28 16:13:19 -07:00