OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: ohci-spear: Remove direct access to platform_device resource list
[uclinux-h8/linux.git]
/
drivers
/
usb
/
host
/
ohci-spear.c
diff --git
a/drivers/usb/host/ohci-spear.c
b/drivers/usb/host/ohci-spear.c
index
b4cd9e6
..
9b81f42
100644
(file)
--- a/
drivers/usb/host/ohci-spear.c
+++ b/
drivers/usb/host/ohci-spear.c
@@
-76,7
+76,7
@@
static int spear_ohci_hcd_drv_probe(struct platform_device *pdev)
goto err_put_hcd;
}
- hcd->rsrc_start =
pdev->resource[0].
start;
+ hcd->rsrc_start =
res->
start;
hcd->rsrc_len = resource_size(res);
sohci_p = to_spear_ohci(hcd);