summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-08-11 01:31:46 +0400
committerGrant Likely <grant.likely@secretlab.ca>2011-10-27 01:15:28 +0400
commit76c05c8a0d56faf210cb9681786bb3e17cd59793 (patch)
tree7397414a99102c283be83d5ac1928878ae3c1b12 /include/linux
parenteb9ae7f2a38135761496d317c08c87f38c7cafe3 (diff)
downloadlinux-76c05c8a0d56faf210cb9681786bb3e17cd59793.tar.xz
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/linux')
-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 5ddd9ad4b19c..2412af944f1f 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;