original_kernel/drivers/soc
Stafford Horne e6dc077b7d soc: litex: Fix compile warning when device tree is not configured
The test robot reported:

   drivers/soc/litex/litex_soc_ctrl.c:143:34: warning: unused variable 'litex_soc_ctrl_of_match' [-Wunused-const-variable]
   static const struct of_device_id litex_soc_ctrl_of_match[] = {
                                    ^
   1 warning generated.

As per the random config device tree is not configured causing the
litex_soc_ctrl_of_match match list to not be used.  This would usually
mean that we cannot even use this driver as it depends on device tree,
but as we also have COMPILE_TEST configured we allow it.

Fix the warning by surrounding the unused variable with an ifdef
CONFIG_OF.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
2021-01-14 09:34:00 +09:00
..
actions
amlogic soc: amlogic: replace devm_reset_control_array_get() 2020-11-30 16:23:11 -08:00
aspeed
atmel
bcm
dove
fsl ARM: SoC drivers for v5.11 2020-12-16 16:38:41 -08:00
gemini
imx
ixp4xx
kendryte
lantiq
litex soc: litex: Fix compile warning when device tree is not configured 2021-01-14 09:34:00 +09:00
mediatek soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS 2020-12-10 15:33:56 +01:00
qcom soc: qcom: rpmhpd: Add SDX55 power domains 2020-11-26 11:50:31 -06:00
renesas soc: renesas: rmobile-sysc: Stop using __raw_*() I/O accessors 2020-11-27 14:09:37 +01:00
rockchip soc: rockchip: io-domain: Fix error return code in rockchip_iodomain_probe() 2020-12-04 11:20:47 +01:00
samsung soc: samsung: exynos-chipid: initialize later - with arch_initcall 2020-12-05 15:12:02 +01:00
sifive
sunxi soc: sunxi: Fix compilation of sunxi_mbus 2020-11-24 11:58:33 +01:00
tegra soc/tegra: Changes for v5.11-rc1 2020-11-27 17:56:10 +01:00
ti dmaengine updates for v5.11-rc1 2020-12-17 12:52:23 -08:00
ux500
versatile
xilinx soc: xilinx: vcu: use vcu-settings syscon registers 2020-12-09 19:36:33 +01:00
zte
Kconfig
Makefile OpenRISC updates for 5.11 2020-12-17 13:41:27 -08:00