[PATCH] MIPS: ralink: make RALINK_ILL_ACC symbol visible

From: Ilya Lipnitskiy
Date: Sun Mar 07 2021 - 00:40:06 EST


The illegal access driver is optional - it is informational and does not
provide critical functionality. Furthermore, it is currently not
functional on RT5350 SoCs, so a user may choose to omit non-functional
code on that platform. The default is kept at 'y' for backwards
compatibility. This change only makes the symbol visible and adds a
brief description.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@xxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
arch/mips/ralink/Kconfig | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
index c10d8b233ab1..c20c44788b62 100644
--- a/arch/mips/ralink/Kconfig
+++ b/arch/mips/ralink/Kconfig
@@ -9,9 +9,14 @@ config CLKEVT_RT3352
select CLKSRC_MMIO

config RALINK_ILL_ACC
- bool
+ bool "Illegal memory access IRQ driver"
depends on SOC_RT305X
default y
+ help
+ This enables notifications of illegal memory access events.
+
+ RT305x/RT5350 SoCs have a special IRQ that fires upon an illegal memory
+ access.

config IRQ_INTC
bool
--
2.30.1