summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-04-20 00:29:49 -0500
committerMike Isely <isely@pobox.com>2006-04-20 00:29:49 -0500
commite31ae22c2bd0e9a999032518fa4e8047445f39c7 (patch)
tree181083cdadabe9916b7d47fdc27dae64a7c73485 /linux/drivers
parent3c70253c62743effde4bb207d05f049bc1c2248b (diff)
downloadmediapointer-dvb-s2-e31ae22c2bd0e9a999032518fa4e8047445f39c7.tar.gz
mediapointer-dvb-s2-e31ae22c2bd0e9a999032518fa4e8047445f39c7.tar.bz2
Bracket a pvrusb2 24xxx-only structure correctly
From: Mike Isely <isely@pobox.com> Surround a 24xxx-specific data structure in pvrusb2 with the appropriate CONFIG option so that it won't be used if 24xxx support is not enabled. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 45cacc865..07bfb7e3b 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -58,6 +58,7 @@ struct pvr2_string_table {
unsigned int cnt;
};
+#ifdef CONFIG_VIDEO_PVRUSB2_24XXX
// Names of other client modules to request for 24xxx model hardware
static const char *pvr2_client_24xxx[] = {
"cx25840",
@@ -65,6 +66,7 @@ static const char *pvr2_client_24xxx[] = {
"tda9887",
"wm8775",
};
+#endif
// Names of other client modules to request for 29xxx model hardware
static const char *pvr2_client_29xxx[] = {