diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-12-22 15:07:00 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-01-08 19:14:58 -0500 |
commit | d0643aa16688131b4dfbd03797ad73bab4ff29bf (patch) | |
tree | db9e5b3d84358171bc550fe84f71a92f6de2b254 /drivers/ata/Kconfig | |
parent | 99c8ea3e57e7b5551ffd9cd401c4bf302b5664e3 (diff) | |
download | linux-d0643aa16688131b4dfbd03797ad73bab4ff29bf.tar.gz linux-d0643aa16688131b4dfbd03797ad73bab4ff29bf.tar.bz2 linux-d0643aa16688131b4dfbd03797ad73bab4ff29bf.zip |
pata_of_platform: remove direct dependency on OF_IRQ
CONFIG_OF_IRQ is not available on some platforms and using of_irq_*
breaks the build. Since resources are already populated in the platform
device, get the irq from there instead.
Reported-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/Kconfig')
-rw-r--r-- | drivers/ata/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index cf047c406d92..6bdedd7cca2c 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -820,7 +820,7 @@ config PATA_PLATFORM config PATA_OF_PLATFORM tristate "OpenFirmware platform device PATA support" - depends on PATA_PLATFORM && OF && OF_IRQ + depends on PATA_PLATFORM && OF help This option enables support for generic directly connected ATA devices commonly found on embedded systems with OpenFirmware |