[PATCH -next] pcmcia: at91_cf: make mc static
From: ruanjinjie <hidden>
Date: 2022-09-14 03:06:12
Subsystem:
pcmcia subsystem, the rest · Maintainers:
Dominik Brodowski, Linus Torvalds
From: ruanjinjie <hidden>
Date: 2022-09-14 03:06:12
Subsystem:
pcmcia subsystem, the rest · Maintainers:
Dominik Brodowski, Linus Torvalds
The symbol is not used outside of the file, so mark it static. Fixes the following warning: ./drivers/pcmcia/at91_cf.c:49:15: warning: symbol 'mc' was not declared. Should it be static? Signed-off-by: ruanjinjie <redacted> --- drivers/pcmcia/at91_cf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c
index 92df2c2c5d07..c1297f0ebf03 100644
--- a/drivers/pcmcia/at91_cf.c
+++ b/drivers/pcmcia/at91_cf.c@@ -46,7 +46,7 @@ struct at91_cf_data { #define AT91_IDE_SWAP_A0_A2 0x02 }; -struct regmap *mc; +static struct regmap *mc; /*--------------------------------------------------------------------------*/
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel