]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d01e619912320faea74415267bbbf9e286e2ea4
treedb9e5b3d84358171bc550fe84f71a92f6de2b254
parent46af1ed3c07bfe4a5cdf499fd5a0cf87f8873964
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