[ar71xx] add experimental support for 2.6.30
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.30 / 811-ohci-ar71xx-use-dev-name-instead-of-bus-id.patch
1 --- a/drivers/usb/host/ohci-ar71xx.c
2 +++ b/drivers/usb/host/ohci-ar71xx.c
3 @@ -30,19 +30,19 @@ static int usb_hcd_ar71xx_probe(const st
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
13 - hcd = usb_create_hcd(driver, &pdev->dev, pdev->dev.bus_id);
14 + hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
15 if (!hcd)
16 return -ENOMEM;
17
18 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
19 if (!res) {
20 dev_dbg(&pdev->dev, "no base address specified for %s\n",
21 - pdev->dev.bus_id);
22 + dev_name(&pdev->dev));
23 ret = -ENODEV;
24 goto err_put_hcd;
25 }