Title: [6794] branches/2009R1/drivers/usb/musb: task[#2424]correct coding errors
- Revision
- 6794
- Author
- cliff
- Date
- 2009-06-18 22:19:52 -0500 (Thu, 18 Jun 2009)
Log Message
task[#2424]correct coding errors
Modified Paths
Diff
Modified: branches/2009R1/drivers/usb/musb/musb_gadget.c (6793 => 6794)
--- branches/2009R1/drivers/usb/musb/musb_gadget.c 2009-06-19 03:17:02 UTC (rev 6793)
+++ branches/2009R1/drivers/usb/musb/musb_gadget.c 2009-06-19 03:19:52 UTC (rev 6794)
@@ -925,7 +925,7 @@
* to diable double buffer mode.
*/
musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx);
-#elif
+#else
musb_writew(regs, MUSB_TXMAXP, tmp);
#endif
@@ -962,7 +962,7 @@
* to diable double buffer mode.
*/
musb_writew(regs, MUSB_RXMAXP, hw_ep->max_packet_sz_rx);
-#elif
+#else
musb_writew(regs, MUSB_RXMAXP, tmp);
#endif
/* force shared fifo to OUT-only mode */
Modified: branches/2009R1/drivers/usb/musb/musb_host.c (6793 => 6794)
--- branches/2009R1/drivers/usb/musb/musb_host.c 2009-06-19 03:17:02 UTC (rev 6793)
+++ branches/2009R1/drivers/usb/musb/musb_host.c 2009-06-19 03:19:52 UTC (rev 6794)
@@ -613,7 +613,7 @@
* to diable double buffer mode.
*/
musb_writew(ep->regs, MUSB_RXMAXP, ep->max_packet_sz_rx);
-#elif
+#else
musb_writew(ep->regs, MUSB_RXMAXP, qh->maxpacket);
#endif
@@ -746,7 +746,7 @@
*/
musb_writew(epio, MUSB_TXMAXP,
hw_ep->max_packet_sz_tx);
-#elif
+#else
musb_writew(epio, MUSB_TXMAXP,
packet_sz);
#endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits