diff options
author | Dudley Du <dudl@cypress.com> | 2015-07-30 21:19:18 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-07-30 21:33:59 +0300 |
commit | 36e9615bd70dc8cd5d7d4831943f788f5231350f (patch) | |
tree | 9fca363f0a983e8cc8cb18a48404b5b00159a416 /drivers/input/mouse/cyapa.h | |
parent | 02d9bd05dcf77bed954ed21b2d4c330879fa3103 (diff) | |
download | linux-36e9615bd70dc8cd5d7d4831943f788f5231350f.tar.xz |
Input: cyapa - add regulator vcc support
We need to power up the chip before we can initialize it.
On systems that delegate task of powering up regulators to firmware we
assume that we'll be simply given a dummy regulator.
Signed-off-by: Dudley Du <dudl@cypress.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/cyapa.h')
-rw-r--r-- | drivers/input/mouse/cyapa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/cyapa.h b/drivers/input/mouse/cyapa.h index af1253640590..b812bba8cdd7 100644 --- a/drivers/input/mouse/cyapa.h +++ b/drivers/input/mouse/cyapa.h @@ -321,6 +321,7 @@ struct cyapa { u8 status[BL_STATUS_SIZE]; bool operational; /* true: ready for data reporting; false: not. */ + struct regulator *vcc; struct i2c_client *client; struct input_dev *input; char phys[32]; /* Device physical location */ |