]> git.baikalelectronics.ru Git - kernel.git/commit
soc: sunxi: mbus: Only build the driver on ARM/ARM64
authorSamuel Holland <samuel@sholland.org>
Sat, 2 Jul 2022 03:25:20 +0000 (22:25 -0500)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Tue, 5 Jul 2022 20:05:59 +0000 (22:05 +0200)
commitdc3f89267ffd9fd33a2370b992d373ef38c402de
tree9eaf7484f296e7dbab6d4728fc8882527fe7118d
parentf040cca4b0da0180bf9de9141ef5c95f60f85182
soc: sunxi: mbus: Only build the driver on ARM/ARM64

This driver exists as a workaround for old devicetrees which are missing
interconnects properties, so it is only useful for those specific
platforms, which all happen to be ARM or ARM64.

This solves the issue that the driver fails to build on RISC-V, where
PHYS_OFFSET is not defined.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220702032520.22129-1-samuel@sholland.org
drivers/soc/sunxi/Kconfig