diff options
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/act200l-sir.c | 2 | ||||
-rw-r--r-- | drivers/net/irda/donauboe.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/irda/act200l-sir.c b/drivers/net/irda/act200l-sir.c index 37ab8c855719..8ff084f1d236 100644 --- a/drivers/net/irda/act200l-sir.c +++ b/drivers/net/irda/act200l-sir.c | |||
@@ -199,7 +199,7 @@ static int act200l_reset(struct sir_dev *dev) | |||
199 | { | 199 | { |
200 | unsigned state = dev->fsm.substate; | 200 | unsigned state = dev->fsm.substate; |
201 | unsigned delay = 0; | 201 | unsigned delay = 0; |
202 | u8 control[9] = { | 202 | static const u8 control[9] = { |
203 | ACT200L_REG15, | 203 | ACT200L_REG15, |
204 | ACT200L_REG13 | ACT200L_SHDW, | 204 | ACT200L_REG13 | ACT200L_SHDW, |
205 | ACT200L_REG21 | ACT200L_EXCK | ACT200L_OSCL, | 205 | ACT200L_REG21 | ACT200L_EXCK | ACT200L_OSCL, |
diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c index b626cccbccd1..f81d944fc360 100644 --- a/drivers/net/irda/donauboe.c +++ b/drivers/net/irda/donauboe.c | |||
@@ -818,9 +818,9 @@ toshoboe_probe (struct toshoboe_cb *self) | |||
818 | { | 818 | { |
819 | int i, j, n; | 819 | int i, j, n; |
820 | #ifdef USE_MIR | 820 | #ifdef USE_MIR |
821 | int bauds[] = { 9600, 115200, 4000000, 1152000 }; | 821 | static const int bauds[] = { 9600, 115200, 4000000, 1152000 }; |
822 | #else | 822 | #else |
823 | int bauds[] = { 9600, 115200, 4000000 }; | 823 | static const int bauds[] = { 9600, 115200, 4000000 }; |
824 | #endif | 824 | #endif |
825 | unsigned long flags; | 825 | unsigned long flags; |
826 | 826 | ||