summaryrefslogtreecommitdiff
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorruanjinjie <ruanjinjie@huawei.com>2022-09-14 11:00:45 +0800
committerDominik Brodowski <linux@dominikbrodowski.net>2022-09-22 16:23:52 +0200
commit105e2fdb250a00e9b9ea1e6283d973397e927bce (patch)
treecb225aab310127fd9f83320189957b488d034a0d /drivers/pcmcia
parentae19e152849514fe15dfdcd1d3a37bdd5e4bdbb4 (diff)
downloadlwn-105e2fdb250a00e9b9ea1e6283d973397e927bce.tar.gz
lwn-105e2fdb250a00e9b9ea1e6283d973397e927bce.zip
pcmcia: at91_cf: make mc static
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 <ruanjinjie@huawei.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/at91_cf.c2
1 files changed, 1 insertions, 1 deletions
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;
/*--------------------------------------------------------------------------*/