diff options
author | Felipe Balbi <balbi@ti.com> | 2013-03-19 04:14:35 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-19 04:14:35 -0400 |
commit | b64a15930c35c3c1046533aadcfe4f3233e70c20 (patch) | |
tree | 7eb0b21572c68c87de81c303ca83a38817584f2c /drivers/usb/phy/phy-samsung-usb2.c | |
parent | af6882be363d3a7bf0f72dd17ac2a639c4da0059 (diff) |
usb: phy: samsung: fix sparse warning
Fix the following sparse warning:
drivers/usb/phy/phy-samsung-usb2.c:50:26: sparse: incorrect type in argument 1 (different address spaces)
drivers/usb/phy/phy-samsung-usb2.c:50:26: expected void const volatile [noderef] <asn:2>*addr
drivers/usb/phy/phy-samsung-usb2.c:50:26: got void *
Cc: Vivek Gautam <gautam.vivek@samsung.com>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-samsung-usb2.c')
-rw-r--r-- | drivers/usb/phy/phy-samsung-usb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-samsung-usb2.c b/drivers/usb/phy/phy-samsung-usb2.c index dce968151505..45ffe036dacc 100644 --- a/drivers/usb/phy/phy-samsung-usb2.c +++ b/drivers/usb/phy/phy-samsung-usb2.c | |||
@@ -43,7 +43,7 @@ static int samsung_usbphy_set_host(struct usb_otg *otg, struct usb_bus *host) | |||
43 | return 0; | 43 | return 0; |
44 | } | 44 | } |
45 | 45 | ||
46 | static bool exynos5_phyhost_is_on(void *regs) | 46 | static bool exynos5_phyhost_is_on(void __iomem *regs) |
47 | { | 47 | { |
48 | u32 reg; | 48 | u32 reg; |
49 | 49 | ||