diff options
-rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/udc.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/include/mach/udc.h | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/pxa25x_udc.c | 4 | ||||
-rw-r--r-- | include/linux/platform_data/pxa2xx_udc.h (renamed from arch/arm/include/asm/mach/udc_pxa2xx.h) | 5 |
4 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/mach-ixp4xx/include/mach/udc.h b/arch/arm/mach-ixp4xx/include/mach/udc.h index 80d6da2eafac..7bd8b96c8843 100644 --- a/arch/arm/mach-ixp4xx/include/mach/udc.h +++ b/arch/arm/mach-ixp4xx/include/mach/udc.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * arch/arm/mach-ixp4xx/include/mach/udc.h | 2 | * arch/arm/mach-ixp4xx/include/mach/udc.h |
3 | * | 3 | * |
4 | */ | 4 | */ |
5 | #include <asm/mach/udc_pxa2xx.h> | 5 | #include <linux/platform_data/pxa2xx_udc.h> |
6 | 6 | ||
7 | extern void ixp4xx_set_udc_info(struct pxa2xx_udc_mach_info *info); | 7 | extern void ixp4xx_set_udc_info(struct pxa2xx_udc_mach_info *info); |
8 | 8 | ||
diff --git a/arch/arm/mach-pxa/include/mach/udc.h b/arch/arm/mach-pxa/include/mach/udc.h index 2f82332e81a0..9a827e32db98 100644 --- a/arch/arm/mach-pxa/include/mach/udc.h +++ b/arch/arm/mach-pxa/include/mach/udc.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * arch/arm/mach-pxa/include/mach/udc.h | 2 | * arch/arm/mach-pxa/include/mach/udc.h |
3 | * | 3 | * |
4 | */ | 4 | */ |
5 | #include <asm/mach/udc_pxa2xx.h> | 5 | #include <linux/platform_data/pxa2xx_udc.h> |
6 | 6 | ||
7 | extern void pxa_set_udc_info(struct pxa2xx_udc_mach_info *info); | 7 | extern void pxa_set_udc_info(struct pxa2xx_udc_mach_info *info); |
8 | 8 | ||
diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c index 8efbf08c3561..d4ca9f1f7f24 100644 --- a/drivers/usb/gadget/pxa25x_udc.c +++ b/drivers/usb/gadget/pxa25x_udc.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/list.h> | 29 | #include <linux/list.h> |
30 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
31 | #include <linux/mm.h> | 31 | #include <linux/mm.h> |
32 | #include <linux/platform_data/pxa2xx_udc.h> | ||
32 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
33 | #include <linux/dma-mapping.h> | 34 | #include <linux/dma-mapping.h> |
34 | #include <linux/irq.h> | 35 | #include <linux/irq.h> |
@@ -59,9 +60,6 @@ | |||
59 | #include <mach/lubbock.h> | 60 | #include <mach/lubbock.h> |
60 | #endif | 61 | #endif |
61 | 62 | ||
62 | #include <asm/mach/udc_pxa2xx.h> | ||
63 | |||
64 | |||
65 | /* | 63 | /* |
66 | * This driver handles the USB Device Controller (UDC) in Intel's PXA 25x | 64 | * This driver handles the USB Device Controller (UDC) in Intel's PXA 25x |
67 | * series processors. The UDC for the IXP 4xx series is very similar. | 65 | * series processors. The UDC for the IXP 4xx series is very similar. |
diff --git a/arch/arm/include/asm/mach/udc_pxa2xx.h b/include/linux/platform_data/pxa2xx_udc.h index ea297ac70bc6..c6c5e98b5b82 100644 --- a/arch/arm/include/asm/mach/udc_pxa2xx.h +++ b/include/linux/platform_data/pxa2xx_udc.h | |||
@@ -1,6 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/include/asm/mach/udc_pxa2xx.h | ||
3 | * | ||
4 | * This supports machine-specific differences in how the PXA2xx | 2 | * This supports machine-specific differences in how the PXA2xx |
5 | * USB Device Controller (UDC) is wired. | 3 | * USB Device Controller (UDC) is wired. |
6 | * | 4 | * |
@@ -8,6 +6,8 @@ | |||
8 | * linux/arch/mach-ixp4xx/<machine>.c and used in | 6 | * linux/arch/mach-ixp4xx/<machine>.c and used in |
9 | * the probe routine of linux/drivers/usb/gadget/pxa2xx_udc.c | 7 | * the probe routine of linux/drivers/usb/gadget/pxa2xx_udc.c |
10 | */ | 8 | */ |
9 | #ifndef PXA2XX_UDC_H | ||
10 | #define PXA2XX_UDC_H | ||
11 | 11 | ||
12 | struct pxa2xx_udc_mach_info { | 12 | struct pxa2xx_udc_mach_info { |
13 | int (*udc_is_connected)(void); /* do we see host? */ | 13 | int (*udc_is_connected)(void); /* do we see host? */ |
@@ -24,3 +24,4 @@ struct pxa2xx_udc_mach_info { | |||
24 | int gpio_pullup; /* high == pullup activated */ | 24 | int gpio_pullup; /* high == pullup activated */ |
25 | }; | 25 | }; |
26 | 26 | ||
27 | #endif | ||