]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: soc: Allow building the sunxi driver without ARCH_SUNXI
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 9 Sep 2018 19:04:39 +0000 (21:04 +0200)
committerChen-Yu Tsai <wens@csie.org>
Wed, 12 Sep 2018 14:40:00 +0000 (22:40 +0800)
commit7641d7b1589104d323626939ce5a3c34fef19374
tree9af60410662662499b61946875675b64d3dc921a
parentf030a7bb7b1f7de16c1c716a587185e209e25800
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>
drivers/soc/Makefile