]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10222): zoran: Better syntax for initializing array module params
authorTrent Piepho <xyzzy@speakeasy.org>
Mon, 12 Jan 2009 16:09:46 +0000 (13:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 29 Jan 2009 10:35:38 +0000 (08:35 -0200)
commit45bdcefea25cad2d7443f5b45a5319e2bd201048
tree6503fb5ea8a282a3bae5b29ee2f86655c3ac8130
parent7ef5e025535ee220d7ba45dcd82f05ddce8c3e4c
V4L/DVB (10222): zoran: Better syntax for initializing array module params

When initializing a module parameter that is a per-card array, use
"{ [0 ... (BUZ_MAX-1)] = -1 }" instead of "{ -1, -1, -1, -1 }".  This way
all of the entries will be correctly set to -1 if someone changes BUZ_MAX
to a value other than 4.

Adjust some of the parameter help text too.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zoran/zoran_card.c