summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-03-26 15:45:31 -0600
committerMike Isely <isely@pobox.com>2006-03-26 15:45:31 -0600
commitf44c0bc49cbb5ee3bd7d89c602873840d40c8b25 (patch)
tree2baee998534b27b4cdd2aa2c1b073b0746c5bc01 /linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
parent2fc29f23f48a916f556d40ce8498ed27a0b1f0fc (diff)
downloadmediapointer-dvb-s2-f44c0bc49cbb5ee3bd7d89c602873840d40c8b25.tar.gz
mediapointer-dvb-s2-f44c0bc49cbb5ee3bd7d89c602873840d40c8b25.tar.bz2
Get rid of static PVR2_CID_COUNT in pvrusb2
From: Mike Isely <isely@pobox.com> Eliminate the need to track the number pvrusb2 CIDs at compile time from within the pvrusb2 driver. This is part of a control structure cleanup. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
index f82fd643c..6b81def26 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c
@@ -30,7 +30,7 @@
#define pvr2_sysfs_trace(...) pvr2_trace(PVR2_TRACE_SYSFS,__VA_ARGS__)
-static char *item_names[PVR2_CID_COUNT] = {
+static char *item_names[] = {
[PVR2_CID_BRIGHTNESS] = "ctl_brightness",
[PVR2_CID_CONTRAST] = "ctl_contrast",
[PVR2_CID_SATURATION] = "ctl_saturation",