dt/irq: add empty of_irq_count for !OF_IRQ
authorRob Herring <rob.herring@calxeda.com>
Thu, 7 Nov 2013 18:13:27 +0000 (12:13 -0600)
committerRob Herring <rob.herring@calxeda.com>
Fri, 8 Nov 2013 16:47:28 +0000 (10:47 -0600)
commita8d3f362f52b65207cacbfb4c50f75e9d4751ef6
treefcb167a3ca87210938c12a9c29bab3876b0696f1
parentf5ae18ece391c3bbf03bb1edc5fdcf23dc8b7e54
dt/irq: add empty of_irq_count for !OF_IRQ

Add an empty version of of_irq_count for !OF_IRQ. This fixes build error
on sparc in linux-next:

drivers/gpio/gpio-bcm-kona.c:542: undefined reference to `of_irq_count'

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
include/linux/of_irq.h