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 6bdedd7..cf047c4 100644 (file)
@@ -820,7 +820,7 @@ config PATA_PLATFORM
 
 config PATA_OF_PLATFORM
        tristate "OpenFirmware platform device PATA support"
 
 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
        help
          This option enables support for generic directly connected ATA
          devices commonly found on embedded systems with OpenFirmware