refresh generic 2.6.28 patches
[openwrt.git] / target / linux / ar71xx / patches-2.6.30 / 810-ehci-ar71xx-use-dev-name-instead-of-bus-id.patch
1 --- a/drivers/usb/host/ehci-ar71xx.c
2 +++ b/drivers/usb/host/ehci-ar71xx.c
3 @@ -79,7 +79,7 @@ static int ehci_ar71xx_probe(const struc
4 res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
5 if (!res) {
6 dev_dbg(&pdev->dev, "no IRQ specified for %s\n",
7 - pdev->dev.bus_id);
8 + dev_name(&pdev->dev));
9 return -ENODEV;
10 }
11 irq = res->start;
12 @@ -87,11 +87,11 @@ static int ehci_ar71xx_probe(const struc
13 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
14 if (!res) {
15 dev_dbg(&pdev->dev, "no base address specified for %s\n",
16 - pdev->dev.bus_id);
17 + dev_name(&pdev->dev));
18 return -ENODEV;
19 }
20
21 - hcd = usb_create_hcd(driver, &pdev->dev, pdev->dev.bus_id);
22 + hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
23 if (!hcd)
24 return -ENOMEM;
25
26 @@ -205,7 +205,7 @@ static int ehci_ar71xx_driver_probe(stru
27 pdata = pdev->dev.platform_data;
28 if (!pdata) {
29 dev_err(&pdev->dev, "no platform data specified for %s\n",
30 - pdev->dev.bus_id);
31 + dev_name(&pdev->dev));
32 return -ENODEV;
33 }
34
This page took 0.041289 seconds and 5 git commands to generate.