diff options
author | Mike Isely <isely@pobox.com> | 2006-04-20 00:29:49 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-04-20 00:29:49 -0500 |
commit | e31ae22c2bd0e9a999032518fa4e8047445f39c7 (patch) | |
tree | 181083cdadabe9916b7d47fdc27dae64a7c73485 /linux/drivers | |
parent | 3c70253c62743effde4bb207d05f049bc1c2248b (diff) | |
download | mediapointer-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.c | 2 |
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[] = { |