aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-08-10 16:31:46 -0500
committerGrant Likely <grant.likely@secretlab.ca>2011-10-26 23:15:28 +0200
commit76c05c8a0d56faf210cb9681786bb3e17cd59793 (patch)
tree7397414a99102c283be83d5ac1928878ae3c1b12 /include
parenteb9ae7f2a38135761496d317c08c87f38c7cafe3 (diff)
gpio: pl061: add DT binding support
This adds devicetree binding support to the ARM pl061 driver removing the platform_data dependency. When DT binding is used, the gpio numbering is assigned dynamically. For now, interrupts are not supported with DT until irqdomains learn dynamic irq assignment. Rather than add another case of -1, updating the driver to use NO_IRQ. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include')
-rw-r--r--include/linux/amba/pl061.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/amba/pl061.h b/include/linux/amba/pl061.h
index 5ddd9ad4b19..2412af944f1 100644
--- a/include/linux/amba/pl061.h
+++ b/include/linux/amba/pl061.h
@@ -7,8 +7,7 @@ struct pl061_platform_data {
unsigned gpio_base;
/* number of the first IRQ.
- * If the IRQ functionality in not desired this must be set to
- * (unsigned) -1.
+ * If the IRQ functionality in not desired this must be set to NO_IRQ.
*/
unsigned irq_base;