diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 17:29:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 17:29:26 -0400 |
commit | 9b6d99f48dfc27d6009e134a5d771eaefd75faac (patch) | |
tree | 5131841a5df84ad9564dad19f11f9d1a0e0085bb /include | |
parent | 5a43c09d1b65da614620b1985633e3251b4f9b99 (diff) | |
parent | 40220c1a192f51695f806d75b1f9970f0f17a6e8 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Use the new typedef for interrupt handler function pointers
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-pxa/mmc.h | 2 | ||||
-rw-r--r-- | include/asm-m68k/atari_stdma.h | 2 | ||||
-rw-r--r-- | include/asm-m68k/ide.h | 2 | ||||
-rw-r--r-- | include/asm-m68k/machdep.h | 2 | ||||
-rw-r--r-- | include/asm-mips/mach-au1x00/au1000_dma.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/ibmebus.h | 2 | ||||
-rw-r--r-- | include/asm-sparc/irq.h | 6 |
7 files changed, 9 insertions, 9 deletions
diff --git a/include/asm-arm/arch-pxa/mmc.h b/include/asm-arm/arch-pxa/mmc.h index b704c4f05f4e..a38a28c4bbd8 100644 --- a/include/asm-arm/arch-pxa/mmc.h +++ b/include/asm-arm/arch-pxa/mmc.h | |||
@@ -10,7 +10,7 @@ struct mmc_host; | |||
10 | struct pxamci_platform_data { | 10 | struct pxamci_platform_data { |
11 | unsigned int ocr_mask; /* available voltages */ | 11 | unsigned int ocr_mask; /* available voltages */ |
12 | unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */ | 12 | unsigned long detect_delay; /* delay in jiffies before detecting cards after interrupt */ |
13 | int (*init)(struct device *, irqreturn_t (*)(int, void *), void *); | 13 | int (*init)(struct device *, irq_handler_t , void *); |
14 | int (*get_ro)(struct device *); | 14 | int (*get_ro)(struct device *); |
15 | void (*setpower)(struct device *, unsigned int); | 15 | void (*setpower)(struct device *, unsigned int); |
16 | void (*exit)(struct device *, void *); | 16 | void (*exit)(struct device *, void *); |
diff --git a/include/asm-m68k/atari_stdma.h b/include/asm-m68k/atari_stdma.h index a6986af7915e..8e389b7fa70c 100644 --- a/include/asm-m68k/atari_stdma.h +++ b/include/asm-m68k/atari_stdma.h | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | /***************************** Prototypes *****************************/ | 9 | /***************************** Prototypes *****************************/ |
10 | 10 | ||
11 | void stdma_lock(irqreturn_t (*handler)(int, void *), void *data); | 11 | void stdma_lock(irq_handler_t handler, void *data); |
12 | void stdma_release( void ); | 12 | void stdma_release( void ); |
13 | int stdma_others_waiting( void ); | 13 | int stdma_others_waiting( void ); |
14 | int stdma_islocked( void ); | 14 | int stdma_islocked( void ); |
diff --git a/include/asm-m68k/ide.h b/include/asm-m68k/ide.h index 896683a7a1f3..f9ffb2cbbae8 100644 --- a/include/asm-m68k/ide.h +++ b/include/asm-m68k/ide.h | |||
@@ -123,7 +123,7 @@ static __inline__ void ide_release_lock (void) | |||
123 | } | 123 | } |
124 | 124 | ||
125 | static __inline__ void | 125 | static __inline__ void |
126 | ide_get_lock(irqreturn_t (*handler)(int, void *), void *data) | 126 | ide_get_lock(irq_handler_t handler, void *data) |
127 | { | 127 | { |
128 | if (MACH_IS_ATARI) { | 128 | if (MACH_IS_ATARI) { |
129 | if (falconide_intr_lock == 0) { | 129 | if (falconide_intr_lock == 0) { |
diff --git a/include/asm-m68k/machdep.h b/include/asm-m68k/machdep.h index 862afa4c35d8..26d2b91209c5 100644 --- a/include/asm-m68k/machdep.h +++ b/include/asm-m68k/machdep.h | |||
@@ -10,7 +10,7 @@ struct rtc_time; | |||
10 | struct rtc_pll_info; | 10 | struct rtc_pll_info; |
11 | struct buffer_head; | 11 | struct buffer_head; |
12 | 12 | ||
13 | extern void (*mach_sched_init) (irqreturn_t (*handler)(int, void *)); | 13 | extern void (*mach_sched_init) (irq_handler_t handler); |
14 | /* machine dependent irq functions */ | 14 | /* machine dependent irq functions */ |
15 | extern void (*mach_init_IRQ) (void); | 15 | extern void (*mach_init_IRQ) (void); |
16 | extern void (*mach_get_model) (char *model); | 16 | extern void (*mach_get_model) (char *model); |
diff --git a/include/asm-mips/mach-au1x00/au1000_dma.h b/include/asm-mips/mach-au1x00/au1000_dma.h index 0493cb0d6175..9f29520e8fb0 100644 --- a/include/asm-mips/mach-au1x00/au1000_dma.h +++ b/include/asm-mips/mach-au1x00/au1000_dma.h | |||
@@ -123,7 +123,7 @@ struct dma_chan { | |||
123 | extern struct dma_chan au1000_dma_table[]; | 123 | extern struct dma_chan au1000_dma_table[]; |
124 | extern int request_au1000_dma(int dev_id, | 124 | extern int request_au1000_dma(int dev_id, |
125 | const char *dev_str, | 125 | const char *dev_str, |
126 | irqreturn_t (*irqhandler)(int, void *), | 126 | irq_handler_t irqhandler, |
127 | unsigned long irqflags, | 127 | unsigned long irqflags, |
128 | void *irq_dev_id); | 128 | void *irq_dev_id); |
129 | extern void free_au1000_dma(unsigned int dmanr); | 129 | extern void free_au1000_dma(unsigned int dmanr); |
diff --git a/include/asm-powerpc/ibmebus.h b/include/asm-powerpc/ibmebus.h index 9d25f2063b03..3493429b70f5 100644 --- a/include/asm-powerpc/ibmebus.h +++ b/include/asm-powerpc/ibmebus.h | |||
@@ -65,7 +65,7 @@ void ibmebus_unregister_driver(struct ibmebus_driver *drv); | |||
65 | 65 | ||
66 | int ibmebus_request_irq(struct ibmebus_dev *dev, | 66 | int ibmebus_request_irq(struct ibmebus_dev *dev, |
67 | u32 ist, | 67 | u32 ist, |
68 | irqreturn_t (*handler)(int, void*), | 68 | irq_handler_t handler, |
69 | unsigned long irq_flags, const char * devname, | 69 | unsigned long irq_flags, const char * devname, |
70 | void *dev_id); | 70 | void *dev_id); |
71 | void ibmebus_free_irq(struct ibmebus_dev *dev, u32 ist, void *dev_id); | 71 | void ibmebus_free_irq(struct ibmebus_dev *dev, u32 ist, void *dev_id); |
diff --git a/include/asm-sparc/irq.h b/include/asm-sparc/irq.h index 70867330f422..ff520ea97473 100644 --- a/include/asm-sparc/irq.h +++ b/include/asm-sparc/irq.h | |||
@@ -76,8 +76,8 @@ static inline void load_profile_irq(int cpu, int limit) | |||
76 | BTFIXUP_CALL(load_profile_irq)(cpu, limit); | 76 | BTFIXUP_CALL(load_profile_irq)(cpu, limit); |
77 | } | 77 | } |
78 | 78 | ||
79 | extern void (*sparc_init_timers)(irqreturn_t (*lvl10_irq)(int, void *)); | 79 | extern void (*sparc_init_timers)(irq_handler_t lvl10_irq); |
80 | extern void claim_ticker14(irqreturn_t (*irq_handler)(int, void *), | 80 | extern void claim_ticker14(irq_handler_t irq_handler, |
81 | int irq, | 81 | int irq, |
82 | unsigned int timeout); | 82 | unsigned int timeout); |
83 | 83 | ||
@@ -91,7 +91,7 @@ BTFIXUPDEF_CALL(void, set_irq_udt, int) | |||
91 | #define set_irq_udt(cpu) BTFIXUP_CALL(set_irq_udt)(cpu) | 91 | #define set_irq_udt(cpu) BTFIXUP_CALL(set_irq_udt)(cpu) |
92 | #endif | 92 | #endif |
93 | 93 | ||
94 | extern int request_fast_irq(unsigned int irq, irqreturn_t (*handler)(int, void *), unsigned long flags, __const__ char *devname); | 94 | extern int request_fast_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, __const__ char *devname); |
95 | 95 | ||
96 | /* On the sun4m, just like the timers, we have both per-cpu and master | 96 | /* On the sun4m, just like the timers, we have both per-cpu and master |
97 | * interrupt registers. | 97 | * interrupt registers. |