diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-25 13:34:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-05 05:35:46 -0400 |
commit | ba60bc673ce7d019ae6684cebbb33e5239346664 (patch) | |
tree | 2068da6e3586dcb55184a0dfbd599032b2fff9f5 /drivers/media/video/cx18/cx18-driver.h | |
parent | 8f9935732930e705cab1936a03418ce01aee979a (diff) |
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 { | |||
424 | struct mutex i2c_bus_lock[2]; | 424 | struct mutex i2c_bus_lock[2]; |
425 | struct i2c_client *i2c_clients[I2C_CLIENTS_MAX]; | 425 | struct i2c_client *i2c_clients[I2C_CLIENTS_MAX]; |
426 | 426 | ||
427 | /* gpio */ | ||
428 | u32 gpio_dir; | ||
429 | u32 gpio_val; | ||
430 | |||
427 | /* v4l2 and User settings */ | 431 | /* v4l2 and User settings */ |
428 | 432 | ||
429 | /* codec settings */ | 433 | /* codec settings */ |