Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130748
b: refs/heads/master
c: 45bdcef
h: refs/heads/master
v: v3
  • Loading branch information
Trent Piepho authored and Mauro Carvalho Chehab committed Jan 29, 2009
1 parent 07bd0cd commit 6fe65e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ef5e025535ee220d7ba45dcd82f05ddce8c3e4c
refs/heads/master: 45bdcefea25cad2d7443f5b45a5319e2bd201048
16 changes: 8 additions & 8 deletions trunk/drivers/media/video/zoran/zoran_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@

extern const struct zoran_format zoran_formats[];

static int card[BUZ_MAX] = { -1, -1, -1, -1 };
static int card[BUZ_MAX] = { [0 ... (BUZ_MAX-1)] = -1 };
module_param_array(card, int, NULL, 0444);
MODULE_PARM_DESC(card, "The type of card");
MODULE_PARM_DESC(card, "Card type");

static int encoder[BUZ_MAX] = { -1, -1, -1, -1 };
static int encoder[BUZ_MAX] = { [0 ... (BUZ_MAX-1)] = -1 };
module_param_array(encoder, int, NULL, 0444);
MODULE_PARM_DESC(encoder, "i2c TV encoder");
MODULE_PARM_DESC(encoder, "Video encoder chip");

static int decoder[BUZ_MAX] = { -1, -1, -1, -1 };
static int decoder[BUZ_MAX] = { [0 ... (BUZ_MAX-1)] = -1 };
module_param_array(decoder, int, NULL, 0444);
MODULE_PARM_DESC(decoder, "i2c TV decoder");
MODULE_PARM_DESC(decoder, "Video decoder chip");

/*
The video mem address of the video card.
Expand Down Expand Up @@ -104,9 +104,9 @@ module_param(default_norm, int, 0444);
MODULE_PARM_DESC(default_norm, "Default norm (0=PAL, 1=NTSC, 2=SECAM)");

/* /dev/videoN, -1 for autodetect */
static int video_nr[BUZ_MAX] = {-1, -1, -1, -1};
static int video_nr[BUZ_MAX] = { [0 ... (BUZ_MAX-1)] = -1 };
module_param_array(video_nr, int, NULL, 0444);
MODULE_PARM_DESC(video_nr, "video device number (-1=Auto)");
MODULE_PARM_DESC(video_nr, "Video device number (-1=Auto)");

/*
Number and size of grab buffers for Video 4 Linux
Expand Down

0 comments on commit 6fe65e2

Please sign in to comment.