diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2018-09-09 21:04:39 +0200 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2018-09-12 16:40:00 +0200 |
commit | 4f8ab30287078ed9905785806046a9bf1a529521 (patch) | |
tree | 9af60410662662499b61946875675b64d3dc921a /drivers/soc | |
parent | Linux 4.19-rc1 (diff) | |
download | linux-4f8ab30287078ed9905785806046a9bf1a529521.tar.xz linux-4f8ab30287078ed9905785806046a9bf1a529521.zip |
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 <contact@paulk.fr>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 113e884697fd..446166ba0bec 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/ |