diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2013-12-08 15:59:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-17 13:22:36 -0800 |
commit | fb5f1834c3221e459324c6885eaad75429f722a5 (patch) | |
tree | f8ae5339f618535e43b3c32d410dd59b4e4a8fea /mm/maccess.c | |
parent | 7cd0c298f6e09476f474b7ae6c1ca876c5d7f881 (diff) |
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 <b.brezillon@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions