]> 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)
commit424127955614b8607e63e340cd49f220707dce48
tree9eaf7484f296e7dbab6d4728fc8882527fe7118d
parentcf1710d1388cf5bd81996b258399c4907d27006e
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