linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] pcmcia: at91_cf: make mc static
@ 2022-09-14  3:00 ruanjinjie
  2022-09-22 14:25 ` Dominik Brodowski
  0 siblings, 1 reply; 3+ messages in thread
From: ruanjinjie @ 2022-09-14  3:00 UTC (permalink / raw)
  To: linux, nicolas.ferre, alexandre.belloni, claudiu.beznea, pali,
	lpieralisi, rmk+kernel, linux-arm-kernel
  Cc: ruanjinjie

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>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] pcmcia: at91_cf: make mc static
  2022-09-14  3:00 [PATCH -next] pcmcia: at91_cf: make mc static ruanjinjie
@ 2022-09-22 14:25 ` Dominik Brodowski
  2022-09-23 10:37   ` Ruan Jinjie
  0 siblings, 1 reply; 3+ messages in thread
From: Dominik Brodowski @ 2022-09-22 14:25 UTC (permalink / raw)
  To: ruanjinjie
  Cc: alexandre.belloni, lpieralisi, rmk+kernel, pali, claudiu.beznea,
	linux-arm-kernel

Am Wed, Sep 14, 2022 at 11:00:45AM +0800 schrieb ruanjinjie:
> 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>

Applied to the pcmcia tree.

Thanks,
	Dominik

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] pcmcia: at91_cf: make mc static
  2022-09-22 14:25 ` Dominik Brodowski
@ 2022-09-23 10:37   ` Ruan Jinjie
  0 siblings, 0 replies; 3+ messages in thread
From: Ruan Jinjie @ 2022-09-23 10:37 UTC (permalink / raw)
  To: Dominik Brodowski
  Cc: alexandre.belloni, lpieralisi, rmk+kernel, pali, claudiu.beznea,
	linux-arm-kernel

Thank you very much

On 2022/9/22 22:25, Dominik Brodowski wrote:
> Am Wed, Sep 14, 2022 at 11:00:45AM +0800 schrieb ruanjinjie:
>> 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>
> 
> Applied to the pcmcia tree.
> 
> Thanks,
> 	Dominik
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-23 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14  3:00 [PATCH -next] pcmcia: at91_cf: make mc static ruanjinjie
2022-09-22 14:25 ` Dominik Brodowski
2022-09-23 10:37   ` Ruan Jinjie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).