mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
gpiolib: Make WM831x GPIO count dynamic
This supports future devices with fewer GPIOs. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
894362f531
commit
6f2ecaae72
3 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue