From c110c10d4a3e9573d3d8231df2eb2ab12e7d0824 Mon Sep 17 00:00:00 2001 From: Mike Isely Date: Sat, 8 Dec 2007 14:21:55 -0600 Subject: pvrusb2: Fix compilation for OnAir Creator config From: Mike Isely 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 --- linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux/drivers/media/video/pvrusb2') 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 -- cgit v1.2.3