summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-12-08 14:21:55 -0600
committerMike Isely <isely@pobox.com>2007-12-08 14:21:55 -0600
commitc110c10d4a3e9573d3d8231df2eb2ab12e7d0824 (patch)
tree8b010bc9db252a7da9242ae3d23dae9a49986540 /linux
parent67011f6563926b0c8cc4f97a34dab3b7a6306f2d (diff)
downloadmediapointer-dvb-s2-c110c10d4a3e9573d3d8231df2eb2ab12e7d0824.tar.gz
mediapointer-dvb-s2-c110c10d4a3e9573d3d8231df2eb2ab12e7d0824.tar.bz2
pvrusb2: Fix compilation for OnAir Creator config
From: Mike Isely <isely@pobox.com> The OnAir creator configuration calls for a specific tuner type to be declared. However for some old kernels that tuner type was named differently. This change adapts to the older name, when present. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
index 9a08670d4..758eccdf9 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c
@@ -125,7 +125,11 @@ static const struct pvr2_device_desc pvr2_device_onair_creator = {
.shortname = "oac",
.client_modules.lst = pvr2_client_onair_creator,
.client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_creator),
+#ifdef TUNER_LG_TDVS_H06XF
.default_tuner_type = TUNER_LG_TDVS_H06XF,
+#else
+ .default_tuner_type = TUNER_LG_TDVS_H062F,
+#endif
.signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
};
#endif