diff options
author | ruanjinjie <ruanjinjie@huawei.com> | 2022-09-14 11:00:45 +0800 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2022-09-22 16:23:52 +0200 |
commit | 105e2fdb250a00e9b9ea1e6283d973397e927bce (patch) | |
tree | cb225aab310127fd9f83320189957b488d034a0d /drivers/pcmcia | |
parent | ae19e152849514fe15dfdcd1d3a37bdd5e4bdbb4 (diff) | |
download | lwn-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.c | 2 |
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; /*--------------------------------------------------------------------------*/ |