pata_of_platform: Add missing CONFIG_OF_IRQ dependency.
authorDavid Miller <davem@davemloft.net>
Wed, 21 Dec 2011 22:38:10 +0000 (17:38 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 Dec 2011 20:00:32 +0000 (15:00 -0500)
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/Kconfig

index 6bdedd7cca2cd3cd630370732b71b8b530992ca9..cf047c406d92797777d6255122f23b5a8297c58a 100644 (file)
@@ -820,7 +820,7 @@ config PATA_PLATFORM
 
 config PATA_OF_PLATFORM
        tristate "OpenFirmware platform device PATA support"
-       depends on PATA_PLATFORM && OF
+       depends on PATA_PLATFORM && OF && OF_IRQ
        help
          This option enables support for generic directly connected ATA
          devices commonly found on embedded systems with OpenFirmware