Changeset 13498


Ignore:
Timestamp:
2008-12-03T16:35:12+01:00 (7 years ago)
Author:
juhosg
Message:

[ar71xx] rename USB variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c

    r13488 r13498  
    2828 * OHCI (USB full speed host controller) 
    2929 */ 
    30 static struct resource ar71xx_usb_ohci_resources[] = { 
     30static struct resource ar71xx_ohci_resources[] = { 
    3131        [0] = { 
    3232                .start  = AR71XX_OHCI_BASE, 
     
    4242 
    4343static u64 ar71xx_ohci_dmamask = DMA_BIT_MASK(32); 
    44 static struct platform_device ar71xx_usb_ohci_device = { 
     44static struct platform_device ar71xx_ohci_device = { 
    4545        .name           = "ar71xx-ohci", 
    4646        .id             = -1, 
    47         .resource       = ar71xx_usb_ohci_resources, 
    48         .num_resources  = ARRAY_SIZE(ar71xx_usb_ohci_resources), 
     47        .resource       = ar71xx_ohci_resources, 
     48        .num_resources  = ARRAY_SIZE(ar71xx_ohci_resources), 
    4949        .dev = { 
    5050                .dma_mask               = &ar71xx_ohci_dmamask, 
     
    5656 * EHCI (USB full speed host controller) 
    5757 */ 
    58 static struct resource ar71xx_usb_ehci_resources[] = { 
     58static struct resource ar71xx_ehci_resources[] = { 
    5959        [0] = { 
    6060                .start  = AR71XX_EHCI_BASE, 
     
    7070 
    7171static u64 ar71xx_ehci_dmamask = DMA_BIT_MASK(32); 
    72 static struct platform_device ar71xx_usb_ehci_device = { 
     72static struct platform_device ar71xx_ehci_device = { 
    7373        .name           = "ar71xx-ehci", 
    7474        .id             = -1, 
    75         .resource       = ar71xx_usb_ehci_resources, 
    76         .num_resources  = ARRAY_SIZE(ar71xx_usb_ehci_resources), 
     75        .resource       = ar71xx_ehci_resources, 
     76        .num_resources  = ARRAY_SIZE(ar71xx_ehci_resources), 
    7777        .dev = { 
    7878                .dma_mask               = &ar71xx_ehci_dmamask, 
     
    9999        mdelay(900); 
    100100 
    101         platform_device_register(&ar71xx_usb_ohci_device); 
    102         platform_device_register(&ar71xx_usb_ehci_device); 
     101        platform_device_register(&ar71xx_ohci_device); 
     102        platform_device_register(&ar71xx_ehci_device); 
    103103} 
    104104 
Note: See TracChangeset for help on using the changeset viewer.