V4L/DVB (7927): ivtv: simplify gpio initialization for XCeive tuners.
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 20 May 2008 09:24:04 +0000 (06:24 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:06:47 +0000 (07:06 -0300)
commit4451342db5b5b779add112c6b15d676f07c73b33
tree961e438324ed26f4d55030f273d1e6365bd336d1
parentd56eebfbdc11d1a3809d8bd793a118da5058ffa8
V4L/DVB (7927): ivtv: simplify gpio initialization for XCeive tuners.

Separate gpio_init field and xceive_pin and combine the two when
the gpio is initialized. So there is no longer any need to set the
xceive pin in the gpio_init values, simplifying the creation of a
new card definition.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-cards.c
drivers/media/video/ivtv/ivtv-gpio.c