From: Boris BREZILLON Date: Sun, 8 Dec 2013 14:59:59 +0000 (+0100) Subject: usb: ohci-at91: fix irq and iomem resource retrieval X-Git-Tag: v3.13-rc5~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb5f1834c3221e459324c6885eaad75429f722a5;p=pandora-kernel.git usb: ohci-at91: fix irq and iomem resource retrieval When using dt resources retrieval (interrupts and reg properties) there is no predefined order for these resources in the platform dev resources table. Retrieve resources using platform_get_resource and platform_get_irq functions instead of direct resource table entries to avoid resource type mismatch. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Signed-off-by: Alan Stern Reviewed-by: Tomasz Figa Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed