diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/usb/gadget/omap_udc.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/usb/gadget/omap_udc.c')
-rw-r--r-- | drivers/usb/gadget/omap_udc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index 8c18df869833..48a09fd89d18 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c | |||
@@ -1815,8 +1815,7 @@ static void devstate_irq(struct omap_udc *udc, u16 irq_src) | |||
1815 | UDC_IRQ_SRC_REG = UDC_DS_CHG; | 1815 | UDC_IRQ_SRC_REG = UDC_DS_CHG; |
1816 | } | 1816 | } |
1817 | 1817 | ||
1818 | static irqreturn_t | 1818 | static irqreturn_t omap_udc_irq(int irq, void *_udc) |
1819 | omap_udc_irq(int irq, void *_udc, struct pt_regs *r) | ||
1820 | { | 1819 | { |
1821 | struct omap_udc *udc = _udc; | 1820 | struct omap_udc *udc = _udc; |
1822 | u16 irq_src; | 1821 | u16 irq_src; |
@@ -1888,8 +1887,7 @@ static void pio_out_timer(unsigned long _ep) | |||
1888 | spin_unlock_irqrestore(&ep->udc->lock, flags); | 1887 | spin_unlock_irqrestore(&ep->udc->lock, flags); |
1889 | } | 1888 | } |
1890 | 1889 | ||
1891 | static irqreturn_t | 1890 | static irqreturn_t omap_udc_pio_irq(int irq, void *_dev) |
1892 | omap_udc_pio_irq(int irq, void *_dev, struct pt_regs *r) | ||
1893 | { | 1891 | { |
1894 | u16 epn_stat, irq_src; | 1892 | u16 epn_stat, irq_src; |
1895 | irqreturn_t status = IRQ_NONE; | 1893 | irqreturn_t status = IRQ_NONE; |
@@ -1968,8 +1966,7 @@ omap_udc_pio_irq(int irq, void *_dev, struct pt_regs *r) | |||
1968 | } | 1966 | } |
1969 | 1967 | ||
1970 | #ifdef USE_ISO | 1968 | #ifdef USE_ISO |
1971 | static irqreturn_t | 1969 | static irqreturn_t omap_udc_iso_irq(int irq, void *_dev) |
1972 | omap_udc_iso_irq(int irq, void *_dev, struct pt_regs *r) | ||
1973 | { | 1970 | { |
1974 | struct omap_udc *udc = _dev; | 1971 | struct omap_udc *udc = _dev; |
1975 | struct omap_ep *ep; | 1972 | struct omap_ep *ep; |