]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/irda/donauboe.c
Merge branch 'release' of ssh://master.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6-omap-h63xx.git] / drivers / net / irda / donauboe.c
index 3e5eca1aa98761ecf932f6d47d895dfda1e1a7a9..a82d8f98383d82160d6548549b9def1c7071472c 100644 (file)
@@ -840,7 +840,7 @@ toshoboe_probe (struct toshoboe_cb *self)
 
   /* test 1: SIR filter and back to back */
 
-  for (j = 0; j < (sizeof (bauds) / sizeof (int)); ++j)
+  for (j = 0; j < ARRAY_SIZE(bauds); ++j)
     {
       int fir = (j > 1);
       toshoboe_stopchip (self);