From b7e38aa67d73cbb9d5d2e1e5de379f473fa7d7bf Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Fri, 10 Aug 2012 09:16:43 +0300 Subject: usb: dwc3: core: use devm_iremap_nocache() version This just guarantees that this piece of memory will be marked uncachable. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/usb') diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index c34452a7304f..4f2ef5345392 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -459,7 +459,7 @@ static int __devinit dwc3_probe(struct platform_device *pdev) return -ENOMEM; } - regs = devm_ioremap(dev, res->start, resource_size(res)); + regs = devm_ioremap_nocache(dev, res->start, resource_size(res)); if (!regs) { dev_err(dev, "ioremap failed\n"); return -ENOMEM; -- cgit v1.2.1