diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-07-26 23:23:31 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-27 04:46:18 -0400 |
commit | 6cab48602996cdbcb277375a8107d53e21e8c9b9 (patch) | |
tree | 5a1c8aaf3eed2d5a53170ab69daa94088947d43d /arch/arm/mach-ixp2000/core.c | |
parent | d9ecdb282c91952796b7542c4f57fd6de6948d7b (diff) |
[ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_*
IRQT_* and __IRQT_* were obsoleted long ago by patch [3692/1].
Remove them completely. Sed script for the reference:
s/__IRQT_RISEDGE/IRQ_TYPE_EDGE_RISING/g
s/__IRQT_FALEDGE/IRQ_TYPE_EDGE_FALLING/g
s/__IRQT_LOWLVL/IRQ_TYPE_LEVEL_LOW/g
s/__IRQT_HIGHLVL/IRQ_TYPE_LEVEL_HIGH/g
s/IRQT_RISING/IRQ_TYPE_EDGE_RISING/g
s/IRQT_FALLING/IRQ_TYPE_EDGE_FALLING/g
s/IRQT_BOTHEDGE/IRQ_TYPE_EDGE_BOTH/g
s/IRQT_LOW/IRQ_TYPE_LEVEL_LOW/g
s/IRQT_HIGH/IRQ_TYPE_LEVEL_HIGH/g
s/IRQT_PROBE/IRQ_TYPE_PROBE/g
s/IRQT_NOEDGE/IRQ_TYPE_NONE/g
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ixp2000/core.c')
-rw-r--r-- | arch/arm/mach-ixp2000/core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-ixp2000/core.c b/arch/arm/mach-ixp2000/core.c index 81cdc8267206..daf28074134b 100644 --- a/arch/arm/mach-ixp2000/core.c +++ b/arch/arm/mach-ixp2000/core.c | |||
@@ -329,19 +329,19 @@ static int ixp2000_GPIO_irq_type(unsigned int irq, unsigned int type) | |||
329 | /* | 329 | /* |
330 | * Then, set the proper trigger type. | 330 | * Then, set the proper trigger type. |
331 | */ | 331 | */ |
332 | if (type & IRQT_FALLING) | 332 | if (type & IRQ_TYPE_EDGE_FALLING) |
333 | GPIO_IRQ_falling_edge |= 1 << line; | 333 | GPIO_IRQ_falling_edge |= 1 << line; |
334 | else | 334 | else |
335 | GPIO_IRQ_falling_edge &= ~(1 << line); | 335 | GPIO_IRQ_falling_edge &= ~(1 << line); |
336 | if (type & IRQT_RISING) | 336 | if (type & IRQ_TYPE_EDGE_RISING) |
337 | GPIO_IRQ_rising_edge |= 1 << line; | 337 | GPIO_IRQ_rising_edge |= 1 << line; |
338 | else | 338 | else |
339 | GPIO_IRQ_rising_edge &= ~(1 << line); | 339 | GPIO_IRQ_rising_edge &= ~(1 << line); |
340 | if (type & IRQT_LOW) | 340 | if (type & IRQ_TYPE_LEVEL_LOW) |
341 | GPIO_IRQ_level_low |= 1 << line; | 341 | GPIO_IRQ_level_low |= 1 << line; |
342 | else | 342 | else |
343 | GPIO_IRQ_level_low &= ~(1 << line); | 343 | GPIO_IRQ_level_low &= ~(1 << line); |
344 | if (type & IRQT_HIGH) | 344 | if (type & IRQ_TYPE_LEVEL_HIGH) |
345 | GPIO_IRQ_level_high |= 1 << line; | 345 | GPIO_IRQ_level_high |= 1 << line; |
346 | else | 346 | else |
347 | GPIO_IRQ_level_high &= ~(1 << line); | 347 | GPIO_IRQ_level_high &= ~(1 << line); |