From e31ae22c2bd0e9a999032518fa4e8047445f39c7 Mon Sep 17 00:00:00 2001 From: Mike Isely Date: Thu, 20 Apr 2006 00:29:49 -0500 Subject: Bracket a pvrusb2 24xxx-only structure correctly From: Mike Isely 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 --- linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/drivers/media/video/pvrusb2') 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[] = { -- cgit v1.2.3