Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339503
b: refs/heads/master
c: 4600006
h: refs/heads/master
i:
  339501: de5496a
  339499: 9fd6541
  339495: d34a1ed
  339487: a2816f7
v: v3
  • Loading branch information
Russell King committed Nov 16, 2012
1 parent 6e2efb2 commit 583416a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6920b5a791bbb54810159fbf6acf2c6ae14cdd22
refs/heads/master: 46000065a631c6d21452d533baf086175c384ba4
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-ixp4xx/include/mach/udc.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* arch/arm/mach-ixp4xx/include/mach/udc.h
*
*/
#include <asm/mach/udc_pxa2xx.h>
#include <linux/platform_data/pxa2xx_udc.h>

extern void ixp4xx_set_udc_info(struct pxa2xx_udc_mach_info *info);

2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/include/mach/udc.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* arch/arm/mach-pxa/include/mach/udc.h
*
*/
#include <asm/mach/udc_pxa2xx.h>
#include <linux/platform_data/pxa2xx_udc.h>

extern void pxa_set_udc_info(struct pxa2xx_udc_mach_info *info);

4 changes: 1 addition & 3 deletions trunk/drivers/usb/gadget/pxa25x_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/platform_data/pxa2xx_udc.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/irq.h>
Expand Down Expand Up @@ -59,9 +60,6 @@
#include <mach/lubbock.h>
#endif

#include <asm/mach/udc_pxa2xx.h>


/*
* This driver handles the USB Device Controller (UDC) in Intel's PXA 25x
* series processors. The UDC for the IXP 4xx series is very similar.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
* arch/arm/include/asm/mach/udc_pxa2xx.h
*
* This supports machine-specific differences in how the PXA2xx
* USB Device Controller (UDC) is wired.
*
* It is set in linux/arch/arm/mach-pxa/<machine>.c or in
* linux/arch/mach-ixp4xx/<machine>.c and used in
* the probe routine of linux/drivers/usb/gadget/pxa2xx_udc.c
*/
#ifndef PXA2XX_UDC_H
#define PXA2XX_UDC_H

struct pxa2xx_udc_mach_info {
int (*udc_is_connected)(void); /* do we see host? */
Expand All @@ -24,3 +24,4 @@ struct pxa2xx_udc_mach_info {
int gpio_pullup; /* high == pullup activated */
};

#endif

0 comments on commit 583416a

Please sign in to comment.