diff options
author | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-04-22 13:41:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 12:42:20 -0400 |
commit | ff699e6bd02eb1c6d02c7c2b576c2ee6caab201c (patch) | |
tree | 496169dda7f8f4dc471f76f715805eb92d621db3 /drivers/media/video/pvrusb2/pvrusb2-hdw.c | |
parent | 29bec0bff50d8f8b108ed22e9981eb4635efc566 (diff) |
V4L/DVB (7094): static memory
- Static memory is always initialized with 0.
- Replaced in some cases C99 comments for /* */
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 2404053a4d85..9199b5defb6b 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -43,13 +43,13 @@ | |||
43 | static struct pvr2_hdw *unit_pointers[PVR_NUM] = {[ 0 ... PVR_NUM-1 ] = NULL}; | 43 | static struct pvr2_hdw *unit_pointers[PVR_NUM] = {[ 0 ... PVR_NUM-1 ] = NULL}; |
44 | static DEFINE_MUTEX(pvr2_unit_mtx); | 44 | static DEFINE_MUTEX(pvr2_unit_mtx); |
45 | 45 | ||
46 | static int ctlchg = 0; | 46 | static int ctlchg; |
47 | static int initusbreset = 1; | 47 | static int initusbreset = 1; |
48 | static int procreload = 0; | 48 | static int procreload; |
49 | static int tuner[PVR_NUM] = { [0 ... PVR_NUM-1] = -1 }; | 49 | static int tuner[PVR_NUM] = { [0 ... PVR_NUM-1] = -1 }; |
50 | static int tolerance[PVR_NUM] = { [0 ... PVR_NUM-1] = 0 }; | 50 | static int tolerance[PVR_NUM] = { [0 ... PVR_NUM-1] = 0 }; |
51 | static int video_std[PVR_NUM] = { [0 ... PVR_NUM-1] = 0 }; | 51 | static int video_std[PVR_NUM] = { [0 ... PVR_NUM-1] = 0 }; |
52 | static int init_pause_msec = 0; | 52 | static int init_pause_msec; |
53 | 53 | ||
54 | module_param(ctlchg, int, S_IRUGO|S_IWUSR); | 54 | module_param(ctlchg, int, S_IRUGO|S_IWUSR); |
55 | MODULE_PARM_DESC(ctlchg, "0=optimize ctl change 1=always accept new ctl value"); | 55 | MODULE_PARM_DESC(ctlchg, "0=optimize ctl change 1=always accept new ctl value"); |