diff options
author | Rakesh Bodla <rbodla@nvidia.com> | 2012-08-08 12:18:03 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-09 17:57:31 -0700 |
commit | eb623030d171e1369760107886636f2985b39fc3 (patch) | |
tree | 568d0a4a2fd827cf1a9a10f24cbaa1edfb56272d /drivers | |
parent | 89c0dc999188865e0e6d58327d7beafb65587ea2 (diff) |
usb: otg: tegra: fix compilations errors
Werror flag is enabled now. Fixing the compilations
errors when DEBUG is enabled.
Change-Id: I909dd177eedfd72f1f71d1a546fc40c301bd1aa7
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/122033
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/otg/tegra-otg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/otg/tegra-otg.c b/drivers/usb/otg/tegra-otg.c index dfbc3ea3c464..1d7cc769fdb8 100644 --- a/drivers/usb/otg/tegra-otg.c +++ b/drivers/usb/otg/tegra-otg.c @@ -230,7 +230,7 @@ static void irq_work(struct work_struct *work) status = tegra->int_status; /* Debug prints */ - DBG("%s(%d) status = 0x%x\n", __func__, __LINE__, status); + DBG("%s(%d) status = 0x%lx\n", __func__, __LINE__, status); if ((status & USB_ID_INT_STATUS) && (status & USB_VBUS_INT_STATUS)) DBG("%s(%d) got vbus & id interrupt\n", __func__, __LINE__); @@ -260,10 +260,10 @@ static irqreturn_t tegra_otg_irq(int irq, void *data) spin_lock_irqsave(&tegra->lock, flags); val = otg_readl(tegra, USB_PHY_WAKEUP); - DBG("%s(%d) interrupt val = 0x%x\n", __func__, __LINE__, val); + DBG("%s(%d) interrupt val = 0x%lx\n", __func__, __LINE__, val); if (val & (USB_VBUS_INT_EN | USB_ID_INT_EN)) { - DBG("%s(%d) PHY_WAKEUP = 0x%x\n", __func__, __LINE__, val); + DBG("%s(%d) PHY_WAKEUP = 0x%lx\n", __func__, __LINE__, val); otg_writel(tegra, val, USB_PHY_WAKEUP); if ((val & USB_ID_INT_STATUS) || (val & USB_VBUS_INT_STATUS)) { tegra->int_status = val; |