usb: Fix compile warning of r8a66597-hcd
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 18 Sep 2008 11:13:08 +0000 (20:13 +0900)
committerMarkus Klotzbuecher <mk@denx.de>
Fri, 19 Sep 2008 05:37:08 +0000 (07:37 +0200)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
drivers/usb/r8a66597-hcd.c

index 0d3931e10f368469a68801ab735105f5e3a5474a..a2e1fffcc0e68a7b05bd9191cafed71892192f4a 100644 (file)
@@ -530,7 +530,7 @@ static int check_usb_device_connecting(struct r8a66597 *r8a66597)
 
 /* based on usb_ohci.c */
 #define min_t(type, x, y) \
-               ({ type __x = (x); type __y = (y); __x < __y ? __x: __y; })
+               ({ type __x = (x); type __y = (y); __x < __y ? __x : __y; })
 /*-------------------------------------------------------------------------*
  * Virtual Root Hub
  *-------------------------------------------------------------------------*/
@@ -794,7 +794,7 @@ static int r8a66597_submit_rh_msg(struct usb_device *dev, unsigned long pipe,
        case RH_SET_CONFIGURATION:
                break;
        default:
-               dbg("unsupported root hub command");
+               R8A66597_DPRINT("unsupported root hub command");
                stat = USB_ST_STALLED;
        }