summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-01-07 21:21:04 +0100
committerArnd Bergmann <arnd@arndb.de>2012-01-07 21:23:00 +0100
commit928a11ba36f999436915ea2b1eadf54301f93059 (patch)
tree8d7cb575d528ddd4b1165e4690401c729c1eb930 /drivers/ide
parentMerge branch 'depends/rmk/for-linus' into samsung/dt (diff)
parentMerge branch 'depends/rmk/restart' into next/cleanup (diff)
downloadlinux-928a11ba36f999436915ea2b1eadf54301f93059.tar.xz
linux-928a11ba36f999436915ea2b1eadf54301f93059.zip
Merge branch 'next/cleanup' into samsung/dt
Conflicts: arch/arm/mach-exynos/common.c The common.c file gets changes from rmk/stable-devel (part of next/cleanup), rmk/restart, samsung/dt and follow-on branches from the samsung tree. Pulling it all together here hopefully avoids having to do even more conflicting merge changesets in this one file. What a mess! Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/at91_ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/at91_ide.c b/drivers/ide/at91_ide.c
index 6dede8f366c5..41d415529479 100644
--- a/drivers/ide/at91_ide.c
+++ b/drivers/ide/at91_ide.c
@@ -314,7 +314,7 @@ static int __init at91_ide_probe(struct platform_device *pdev)
apply_timings(board->chipselect, 0, ide_timing_find_mode(XFER_PIO_0), 0);
/* with GPIO interrupt we have to do quirks in handler */
- if (board->irq_pin >= PIN_BASE)
+ if (gpio_is_valid(board->irq_pin))
host->irq_handler = at91_irq_handler;
host->ports[0]->select_data = board->chipselect;