diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-25 14:34:36 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-05 06:35:46 -0300 |
commit | ba60bc673ce7d019ae6684cebbb33e5239346664 (patch) | |
tree | 2068da6e3586dcb55184a0dfbd599032b2fff9f5 /drivers/media/video/cx18/cx18-driver.h | |
parent | 8f9935732930e705cab1936a03418ce01aee979a (diff) | |
download | talos-obmc-linux-ba60bc673ce7d019ae6684cebbb33e5239346664.tar.gz talos-obmc-linux-ba60bc673ce7d019ae6684cebbb33e5239346664.zip |
V4L/DVB (7934): cx18: move gpio_dir/val statics to the cx18 struct.
The gpio_dir/val statics cannot be global, they are card-specific.
Thanks to Andy Walls for pointing this out.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.h')
-rw-r--r-- | drivers/media/video/cx18/cx18-driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h index 9c6a53477a1b..b943aeac2764 100644 --- a/drivers/media/video/cx18/cx18-driver.h +++ b/drivers/media/video/cx18/cx18-driver.h @@ -424,6 +424,10 @@ struct cx18 { struct mutex i2c_bus_lock[2]; struct i2c_client *i2c_clients[I2C_CLIENTS_MAX]; + /* gpio */ + u32 gpio_dir; + u32 gpio_val; + /* v4l2 and User settings */ /* codec settings */ |