aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-09-03 18:02:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-09-03 18:02:18 +0000
commite9775a5e1019c132d53ef21b056e990b3eb0723a (patch)
treedde3b1ec991eed87d81941b7bf23c93d22b565c5
parentf9afbda3d6a37edf6f9980a231c4888f625f1d9f (diff)
downloadupstream-e9775a5e1019c132d53ef21b056e990b3eb0723a.tar.gz
upstream-e9775a5e1019c132d53ef21b056e990b3eb0723a.tar.bz2
upstream-e9775a5e1019c132d53ef21b056e990b3eb0723a.zip
fix platform device ids of the USB controllers
SVN-Revision: 12519
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
index 208af8c8fd..3c9b74ca2c 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
@@ -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",
- .id = 0,
+ .id = -1,
.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",
- .id = 0,
+ .id = -1,
.resource = ar71xx_usb_ehci_resources,
.num_resources = ARRAY_SIZE(ar71xx_usb_ehci_resources),
.dev = {