projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar71xx] rename USB variables
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ar71xx
/
platform.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
index e41fcd646b0830ba02009998ead622a714d44f81..d3a7e9e9c9ec1fab1f006160c83fb8cc374465b6 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/platform.c
@@
-27,7
+27,7
@@
static u8 ar71xx_mac_base[ETH_ALEN] __initdata;
/*
* OHCI (USB full speed host controller)
*/
/*
* OHCI (USB full speed host controller)
*/
-static struct resource ar71xx_
usb_
ohci_resources[] = {
+static struct resource ar71xx_ohci_resources[] = {
[0] = {
.start = AR71XX_OHCI_BASE,
.end = AR71XX_OHCI_BASE + AR71XX_OHCI_SIZE - 1,
[0] = {
.start = AR71XX_OHCI_BASE,
.end = AR71XX_OHCI_BASE + AR71XX_OHCI_SIZE - 1,
@@
-41,11
+41,11
@@
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_ohci_device = {
.name = "ar71xx-ohci",
.id = -1,
.name = "ar71xx-ohci",
.id = -1,
- .resource = ar71xx_
usb_
ohci_resources,
- .num_resources = ARRAY_SIZE(ar71xx_
usb_
ohci_resources),
+ .resource = ar71xx_ohci_resources,
+ .num_resources = ARRAY_SIZE(ar71xx_ohci_resources),
.dev = {
.dma_mask = &ar71xx_ohci_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(32),
.dev = {
.dma_mask = &ar71xx_ohci_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(32),
@@
-55,7
+55,7
@@
static struct platform_device ar71xx_usb_ohci_device = {
/*
* EHCI (USB full speed host controller)
*/
/*
* EHCI (USB full speed host controller)
*/
-static struct resource ar71xx_
usb_
ehci_resources[] = {
+static struct resource ar71xx_ehci_resources[] = {
[0] = {
.start = AR71XX_EHCI_BASE,
.end = AR71XX_EHCI_BASE + AR71XX_EHCI_SIZE - 1,
[0] = {
.start = AR71XX_EHCI_BASE,
.end = AR71XX_EHCI_BASE + AR71XX_EHCI_SIZE - 1,
@@
-69,11
+69,11
@@
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_ehci_device = {
.name = "ar71xx-ehci",
.id = -1,
.name = "ar71xx-ehci",
.id = -1,
- .resource = ar71xx_
usb_
ehci_resources,
- .num_resources = ARRAY_SIZE(ar71xx_
usb_
ehci_resources),
+ .resource = ar71xx_ehci_resources,
+ .num_resources = ARRAY_SIZE(ar71xx_ehci_resources),
.dev = {
.dma_mask = &ar71xx_ehci_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(32),
.dev = {
.dma_mask = &ar71xx_ehci_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(32),
@@
-98,8
+98,8
@@
void __init ar71xx_add_device_usb(void)
mdelay(900);
mdelay(900);
- platform_device_register(&ar71xx_
usb_
ohci_device);
- platform_device_register(&ar71xx_
usb_
ehci_device);
+ platform_device_register(&ar71xx_ohci_device);
+ platform_device_register(&ar71xx_ehci_device);
}
#ifdef CONFIG_AR71XX_EARLY_SERIAL
}
#ifdef CONFIG_AR71XX_EARLY_SERIAL