Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mISDN: make dmril and dmrim static

Fix the following sparse warning:

drivers/isdn/hardware/mISDN/mISDNisar.c:746:12: warning: symbol 'dmril'
was not declared. Should it be static?
drivers/isdn/hardware/mISDN/mISDNisar.c:749:12: warning: symbol 'dmrim'
was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jason Yan and committed by
David S. Miller
05eab4f3 806fd188

+2 -2
+2 -2
drivers/isdn/hardware/mISDN/mISDNisar.c
··· 743 743 } 744 744 } 745 745 746 - const char *dmril[] = {"NO SPEED", "1200/75", "NODEF2", "75/1200", "NODEF4", 746 + static const char *dmril[] = {"NO SPEED", "1200/75", "NODEF2", "75/1200", "NODEF4", 747 747 "300", "600", "1200", "2400", "4800", "7200", 748 748 "9600nt", "9600t", "12000", "14400", "WRONG"}; 749 - const char *dmrim[] = {"NO MOD", "NO DEF", "V32/V32b", "V22", "V21", 749 + static const char *dmrim[] = {"NO MOD", "NO DEF", "V32/V32b", "V22", "V21", 750 750 "Bell103", "V23", "Bell202", "V17", "V29", "V27ter"}; 751 751 752 752 static void