Commit 8be77d3f authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

ARM: OMAP: Convert some SA interrupt flags to IRQF

Convert some SA* interrupt flags to IRQF*
Signed-off-by: default avatarDirk Behme <dirk.behme@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 82ce7131
...@@ -515,7 +515,7 @@ int __devinit tsc2301_kp_init(struct tsc2301 *tsc, ...@@ -515,7 +515,7 @@ int __devinit tsc2301_kp_init(struct tsc2301 *tsc,
set_irq_type(kp->irq, IRQT_FALLING); set_irq_type(kp->irq, IRQT_FALLING);
r = request_irq(kp->irq, tsc2301_kp_irq_handler, SA_SAMPLE_RANDOM, r = request_irq(kp->irq, tsc2301_kp_irq_handler, IRQF_SAMPLE_RANDOM,
"tsc2301-kp", tsc); "tsc2301-kp", tsc);
if (r < 0) { if (r < 0) {
dev_err(&tsc->spi->dev, "unable to get kbirq IRQ"); dev_err(&tsc->spi->dev, "unable to get kbirq IRQ");
......
...@@ -621,7 +621,7 @@ int __devinit tsc2301_ts_init(struct tsc2301 *tsc, ...@@ -621,7 +621,7 @@ int __devinit tsc2301_ts_init(struct tsc2301 *tsc,
ts->irq_enabled = 1; ts->irq_enabled = 1;
r = request_irq(ts->irq, tsc2301_ts_irq_handler, r = request_irq(ts->irq, tsc2301_ts_irq_handler,
SA_SAMPLE_RANDOM | SA_TRIGGER_FALLING, IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_FALLING,
"tsc2301-ts", tsc); "tsc2301-ts", tsc);
if (r < 0) { if (r < 0) {
dev_err(&tsc->spi->dev, "unable to get DAV IRQ"); dev_err(&tsc->spi->dev, "unable to get DAV IRQ");
......
...@@ -352,7 +352,7 @@ static int __devinit omap2_onenand_probe(struct platform_device *pdev) ...@@ -352,7 +352,7 @@ static int __devinit omap2_onenand_probe(struct platform_device *pdev)
omap_set_gpio_direction(info->gpio_irq, 1); omap_set_gpio_direction(info->gpio_irq, 1);
if ((r = request_irq(OMAP_GPIO_IRQ(info->gpio_irq), if ((r = request_irq(OMAP_GPIO_IRQ(info->gpio_irq),
omap2_onenand_interrupt, SA_TRIGGER_RISING, omap2_onenand_interrupt, IRQF_TRIGGER_RISING,
pdev->dev.driver->name, info)) < 0) pdev->dev.driver->name, info)) < 0)
goto err_release_gpio; goto err_release_gpio;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment