diff options
author | John Watts <[email protected]> | 2023-09-06 09:13:43 +1000 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2023-10-06 12:54:33 +0200 |
commit | 1f223208ebdef84f21c15e9958c005a93c871aa2 (patch) | |
tree | 7e30c07c00ce46f99850cf203c27ccbb28eba732 /net/lapb/lapb_in.c | |
parent | d9c2ba65e651467de739324d978b04ed8729f483 (diff) |
can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set
When adding the RISCV option I didn't gate it behind ARCH_SUNXI.
As a result this option shows up with Allwinner support isn't enabled.
Fix that by requiring ARCH_SUNXI to be set if RISCV is set.
Fixes: 8abb95250ae6 ("can: sun4i_can: Add support for the Allwinner D1")
Reported-by: Geert Uytterhoeven <[email protected]>
Closes: https://lore.kernel.org/linux-sunxi/CAMuHMdV2m54UAH0X2dG7stEg=grFihrdsz4+o7=_DpBMhjTbkw@mail.gmail.com/
Signed-off-by: John Watts <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions