diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-07-22 21:47:29 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-07-22 21:47:29 -0700 |
commit | bd072111e7319d90a7b8127f91c2806b9a6f279e (patch) | |
tree | 1686978814a2387ebfc16f9f5778a7f0caaf319b /include/linux/amba/pl061.h | |
parent | Input: sh_keysc - allow modifying keymap from userspace (diff) | |
parent | Linux 2.6.31-rc4 (diff) | |
download | linux-dev-bd072111e7319d90a7b8127f91c2806b9a6f279e.tar.xz linux-dev-bd072111e7319d90a7b8127f91c2806b9a6f279e.zip |
Merge commit 'v2.6.31-rc4' into next
Diffstat (limited to 'include/linux/amba/pl061.h')
-rw-r--r-- | include/linux/amba/pl061.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/amba/pl061.h b/include/linux/amba/pl061.h new file mode 100644 index 000000000000..b4fbd9862606 --- /dev/null +++ b/include/linux/amba/pl061.h @@ -0,0 +1,15 @@ +/* platform data for the PL061 GPIO driver */ + +struct pl061_platform_data { + /* number of the first GPIO */ + unsigned gpio_base; + + /* number of the first IRQ. + * If the IRQ functionality in not desired this must be set to + * (unsigned) -1. + */ + unsigned irq_base; + + u8 directions; /* startup directions, 1: out, 0: in */ + u8 values; /* startup values */ +}; |