summaryrefslogtreecommitdiffstats
path: root/drivers/staging/go7007/wis-sony-tuner.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-04-13 13:16:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-17 11:06:31 -0700
commit86a79d2e7094589413880eefa5c6111032382584 (patch)
tree3884f150f7dbede14087d0d4d37bc81ab2c4360b /drivers/staging/go7007/wis-sony-tuner.c
parentb824adc9686fb9a6edca164c13107bfed3e41d4e (diff)
downloadop-kernel-dev-86a79d2e7094589413880eefa5c6111032382584.zip
op-kernel-dev-86a79d2e7094589413880eefa5c6111032382584.tar.gz
Staging: go7007: fix build issues
Now that TUNER_SET_TYPE_ADDR is gone from the tree, the older code kicks in and tries to use TUNER_SET_TYPE, which went away a long time ago. This patch removes all of this logic, as it should not be needed anymore now, and by doing so, fixes the build. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/go7007/wis-sony-tuner.c')
-rw-r--r--drivers/staging/go7007/wis-sony-tuner.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/go7007/wis-sony-tuner.c b/drivers/staging/go7007/wis-sony-tuner.c
index 58fddb1..0a7eeef 100644
--- a/drivers/staging/go7007/wis-sony-tuner.c
+++ b/drivers/staging/go7007/wis-sony-tuner.c
@@ -386,6 +386,7 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
struct wis_sony_tuner *t = i2c_get_clientdata(client);
switch (cmd) {
+#if 0
#ifdef TUNER_SET_TYPE_ADDR
case TUNER_SET_TYPE_ADDR:
{
@@ -463,6 +464,7 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
t->type, sony_tuners[t->type - 200].name);
break;
}
+#endif
case VIDIOC_G_FREQUENCY:
{
struct v4l2_frequency *f = arg;
OpenPOWER on IntegriCloud