Skip to content

Commit 05eab4f

Browse files
JasonYanHwdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Jason Yan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 806fd18 commit 05eab4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/isdn/hardware/mISDN/mISDNisar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,10 +743,10 @@ check_send(struct isar_hw *isar, u8 rdm)
743743
}
744744
}
745745

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",
747747
"300", "600", "1200", "2400", "4800", "7200",
748748
"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",
750750
"Bell103", "V23", "Bell202", "V17", "V29", "V27ter"};
751751

752752
static void

0 commit comments

Comments
 (0)