From: Paul Kocialkowski Date: Sun, 9 Sep 2018 19:04:39 +0000 (+0200) Subject: drivers: soc: Allow building the sunxi driver without ARCH_SUNXI X-Git-Tag: v5.15~7691^2~10^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f8ab30287078ed9905785806046a9bf1a529521;p=platform%2Fkernel%2Flinux-starfive.git drivers: soc: Allow building the sunxi driver without ARCH_SUNXI This makes it possible to build the sunxi SRAM driver without building for the sunxi architecture. This allows selecting the driver when building the kernel in testing environments. In particular, this is necessary for testing of the Cedrus driver, that selects the sunxi SRAM driver. Signed-off-by: Paul Kocialkowski Acked-by: Maxime Ripard Signed-off-by: Chen-Yu Tsai --- diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 113e884..446166b 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -18,7 +18,7 @@ obj-y += qcom/ obj-y += renesas/ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ obj-$(CONFIG_SOC_SAMSUNG) += samsung/ -obj-$(CONFIG_ARCH_SUNXI) += sunxi/ +obj-y += sunxi/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ obj-$(CONFIG_SOC_TI) += ti/ obj-$(CONFIG_ARCH_U8500) += ux500/