summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:23:01 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:23:01 -0600
commitfd2d5410a7600d1d9cd7b6619b7904642ac40e6e (patch)
tree337217d6448a72a7b2b020ad68cea4fd70d4f13b /drivers/usb/gadget
parentb16404cf783185d90be1ae98e7a5be7d1fb38568 (diff)
Bugzilla 510: Update to code review fixes following L2618.2
Patch for Bugzilla 510: Update to code review fixes following L2618.2 Changes made to fix bugs and/or port to 2.6.19.2 after including GSO L2618-2 patches as discovered and discussed in the code review. http://www.bitshrine.org/gpp/linux-2.6.22-mx-Bugzilla-510-Update-to-code-review-fixes-f.patch
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/arcotg_udc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/gadget/arcotg_udc.c b/drivers/usb/gadget/arcotg_udc.c
index 85eace5e0725..ee91d3f578cf 100644
--- a/drivers/usb/gadget/arcotg_udc.c
+++ b/drivers/usb/gadget/arcotg_udc.c
@@ -2890,8 +2890,9 @@ static int __devinit fsl_udc_probe(struct platform_device *pdev)
rsrc_start = pdev->resource[0].start;
rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1;
- pr_debug("start=0x%x end=0x%x\n",
- pdev->resource[0].start, pdev->resource[0].end);
+ pr_debug("start=0x%lx end=0x%lx\n",
+ (unsigned long)pdev->resource[0].start,
+ (unsigned long)pdev->resource[0].end);
pr_debug("rsrc_start=0x%llx rsrc_len=0x%llx\n", rsrc_start, rsrc_len);
#if 0 /* DDD */
@@ -3062,7 +3063,7 @@ static int udc_suspend(struct arcotg_udc *udc)
static int fsl_udc_suspend(struct device *dev, pm_message_t state)
{
struct arcotg_udc *udc = (struct arcotg_udc *)dev_get_drvdata(dev);
- pr_debug("udc: Suspend. state=%d\n", state.event);
+ pr_debug("udc: Suspend.\n");
return udc_suspend(udc);
}