diff options
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/donauboe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c index 3e5eca1aa987..a82d8f98383d 100644 --- a/drivers/net/irda/donauboe.c +++ b/drivers/net/irda/donauboe.c | |||
@@ -840,7 +840,7 @@ toshoboe_probe (struct toshoboe_cb *self) | |||
840 | 840 | ||
841 | /* test 1: SIR filter and back to back */ | 841 | /* test 1: SIR filter and back to back */ |
842 | 842 | ||
843 | for (j = 0; j < (sizeof (bauds) / sizeof (int)); ++j) | 843 | for (j = 0; j < ARRAY_SIZE(bauds); ++j) |
844 | { | 844 | { |
845 | int fir = (j > 1); | 845 | int fir = (j > 1); |
846 | toshoboe_stopchip (self); | 846 | toshoboe_stopchip (self); |