fix platform device ids of the USB controllers

SVN-Revision: 12519
master
Gabor Juhos 16 years ago
parent f9afbda3d6
commit e9775a5e10
  1. 4
      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 u64 ar71xx_ohci_dmamask = DMA_BIT_MASK(32);
static struct platform_device ar71xx_usb_ohci_device = { static struct platform_device ar71xx_usb_ohci_device = {
.name = "ar71xx-ohci", .name = "ar71xx-ohci",
.id = 0, .id = -1,
.resource = ar71xx_usb_ohci_resources, .resource = ar71xx_usb_ohci_resources,
.num_resources = ARRAY_SIZE(ar71xx_usb_ohci_resources), .num_resources = ARRAY_SIZE(ar71xx_usb_ohci_resources),
.dev = { .dev = {
@ -71,7 +71,7 @@ static struct resource ar71xx_usb_ehci_resources[] = {
static u64 ar71xx_ehci_dmamask = DMA_BIT_MASK(32); static u64 ar71xx_ehci_dmamask = DMA_BIT_MASK(32);
static struct platform_device ar71xx_usb_ehci_device = { static struct platform_device ar71xx_usb_ehci_device = {
.name = "ar71xx-ehci", .name = "ar71xx-ehci",
.id = 0, .id = -1,
.resource = ar71xx_usb_ehci_resources, .resource = ar71xx_usb_ehci_resources,
.num_resources = ARRAY_SIZE(ar71xx_usb_ehci_resources), .num_resources = ARRAY_SIZE(ar71xx_usb_ehci_resources),
.dev = { .dev = {

Loading…
Cancel
Save