git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpiolib: Make WM831x GPIO count dynamic
[safe/jmp/linux-2.6]
/
include
/
linux
/
mfd
/
wm831x
/
core.h
diff --git
a/include/linux/mfd/wm831x/core.h
b/include/linux/mfd/wm831x/core.h
index
91eb493
..
c1bc59f
100644
(file)
--- a/
include/linux/mfd/wm831x/core.h
+++ b/
include/linux/mfd/wm831x/core.h
@@
-253,6
+253,8
@@
struct wm831x {
unsigned int irq_base;
int irq_masks[5];
+ int num_gpio;
+
struct mutex auxadc_lock;
/* The WM831x has a security key blocking access to certain