From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Convert some SA interrupt flags to IRQF
Date: Sat, 19 May 2007 16:40:22 +0200 [thread overview]
Message-ID: <464F0C56.7040808@googlemail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 94 bytes --]
Convert some SA* interrupt flags to IRQF*
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
[-- Attachment #2: convert_sa_to_irqf_interrupt_flag.txt --]
[-- Type: text/plain, Size: 1665 bytes --]
Index: linux-osk/drivers/input/keyboard/tsc2301_kp.c
===================================================================
--- linux-osk.orig/drivers/input/keyboard/tsc2301_kp.c
+++ linux-osk/drivers/input/keyboard/tsc2301_kp.c
@@ -515,7 +515,7 @@ int __devinit tsc2301_kp_init(struct tsc
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);
if (r < 0) {
dev_err(&tsc->spi->dev, "unable to get kbirq IRQ");
Index: linux-osk/drivers/input/touchscreen/tsc2301_ts.c
===================================================================
--- linux-osk.orig/drivers/input/touchscreen/tsc2301_ts.c
+++ linux-osk/drivers/input/touchscreen/tsc2301_ts.c
@@ -621,7 +621,7 @@ int __devinit tsc2301_ts_init(struct tsc
ts->irq_enabled = 1;
r = request_irq(ts->irq, tsc2301_ts_irq_handler,
- SA_SAMPLE_RANDOM | SA_TRIGGER_FALLING,
+ IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_FALLING,
"tsc2301-ts", tsc);
if (r < 0) {
dev_err(&tsc->spi->dev, "unable to get DAV IRQ");
Index: linux-osk/drivers/mtd/onenand/omap2.c
===================================================================
--- linux-osk.orig/drivers/mtd/onenand/omap2.c
+++ linux-osk/drivers/mtd/onenand/omap2.c
@@ -352,7 +352,7 @@ static int __devinit omap2_onenand_probe
omap_set_gpio_direction(info->gpio_irq, 1);
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)
goto err_release_gpio;
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
reply other threads:[~2007-05-19 14:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=464F0C56.7040808@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox