[ar71xx] fix platform device ids of the USB controllers
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Sep 2008 18:02:18 +0000 (18:02 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Sep 2008 18:02:18 +0000 (18:02 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12519 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/arch/mips/ar71xx/platform.c

index 208af8c..3c9b74c 100644 (file)
@@ -43,7 +43,7 @@ static struct resource ar71xx_usb_ohci_resources[] = {
 static u64 ar71xx_ohci_dmamask = DMA_BIT_MASK(32);
 static struct platform_device ar71xx_usb_ohci_device = {
        .name           = "ar71xx-ohci",
 static u64 ar71xx_ohci_dmamask = DMA_BIT_MASK(32);
 static struct platform_device ar71xx_usb_ohci_device = {
        .name           = "ar71xx-ohci",
-       .id             = 0,
+       .id             = -1,
        .resource       = ar71xx_usb_ohci_resources,
        .num_resources  = ARRAY_SIZE(ar71xx_usb_ohci_resources),
        .dev = {
        .resource       = ar71xx_usb_ohci_resources,
        .num_resources  = ARRAY_SIZE(ar71xx_usb_ohci_resources),
        .dev = {
@@ -71,7 +71,7 @@ static struct resource ar71xx_usb_ehci_resources[] = {
 static u64 ar71xx_ehci_dmamask = DMA_BIT_MASK(32);
 static struct platform_device ar71xx_usb_ehci_device = {
        .name           = "ar71xx-ehci",
 static u64 ar71xx_ehci_dmamask = DMA_BIT_MASK(32);
 static struct platform_device ar71xx_usb_ehci_device = {
        .name           = "ar71xx-ehci",
-       .id             = 0,
+       .id             = -1,
        .resource       = ar71xx_usb_ehci_resources,
        .num_resources  = ARRAY_SIZE(ar71xx_usb_ehci_resources),
        .dev = {
        .resource       = ar71xx_usb_ehci_resources,
        .num_resources  = ARRAY_SIZE(ar71xx_usb_ehci_resources),
        .dev = {
This page took 0.02977 seconds and 4 git commands to generate.