]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/irda/donauboe.c
Merge branch 'linus' into x86/cleanups
[linux-2.6-omap-h63xx.git] / drivers / net / irda / donauboe.c
index 3e5eca1aa98761ecf932f6d47d895dfda1e1a7a9..1257e1a7e819f74411b5e5b7010fa9bb7ea25b2f 100644 (file)
@@ -595,7 +595,7 @@ toshoboe_startchip (struct toshoboe_cb *self)
   OUTB ((physaddr >> 18) & 0xff, OBOE_RING_BASE1);
   OUTB ((physaddr >> 26) & 0x3f, OBOE_RING_BASE2);
 
-  /*Enable DMA controler in byte mode and RX */
+  /*Enable DMA controller in byte mode and RX */
   OUTB (CONFIG0H_DMA_ON, OBOE_CONFIG0H);
 
   /* Start up the clocks */
@@ -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);