pata_of_platform: remove direct dependency on OF_IRQ
authorRob Herring <rob.herring@calxeda.com>
Thu, 22 Dec 2011 20:07:00 +0000 (15:07 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 9 Jan 2012 00:14:58 +0000 (19:14 -0500)
commitd0643aa16688131b4dfbd03797ad73bab4ff29bf
treedb9e5b3d84358171bc550fe84f71a92f6de2b254
parent99c8ea3e57e7b5551ffd9cd401c4bf302b5664e3
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>
drivers/ata/Kconfig
drivers/ata/pata_of_platform.c