diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2006-03-25 06:07:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:52 -0500 |
commit | 8d3b33f67fdc0fb364a1ef6d8fbbea7c2e4e6c98 (patch) | |
tree | 7fc48e7544ea6a6c6a7cc7685612a38f5edc25ae /drivers/media/video/zr36120.c | |
parent | c721bccece2b3abca4f7b0b95108e68b78445cec (diff) |
[PATCH] Remove MODULE_PARM
MODULE_PARM was actually breaking: recent gcc version optimize them out as
unused. It's time to replace the last users, which are generally in the
most unloved drivers anyway.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/zr36120.c')
-rw-r--r-- | drivers/media/video/zr36120.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/zr36120.c b/drivers/media/video/zr36120.c index d4c633b8a7f5..417a999afee3 100644 --- a/drivers/media/video/zr36120.c +++ b/drivers/media/video/zr36120.c | |||
@@ -70,10 +70,10 @@ MODULE_AUTHOR("Pauline Middelink <middelin@polyware.nl>"); | |||
70 | MODULE_DESCRIPTION("Zoran ZR36120 based framegrabber"); | 70 | MODULE_DESCRIPTION("Zoran ZR36120 based framegrabber"); |
71 | MODULE_LICENSE("GPL"); | 71 | MODULE_LICENSE("GPL"); |
72 | 72 | ||
73 | MODULE_PARM(triton1,"i"); | 73 | module_param(triton1, uint, 0); |
74 | MODULE_PARM(cardtype,"1-" __MODULE_STRING(ZORAN_MAX) "i"); | 74 | module_param_array(cardtype, uint, NULL, 0); |
75 | MODULE_PARM(video_nr,"i"); | 75 | module_param(video_nr, int, 0); |
76 | MODULE_PARM(vbi_nr,"i"); | 76 | module_param(vbi_nr, int, 0); |
77 | 77 | ||
78 | static int zoran_cards; | 78 | static int zoran_cards; |
79 | static struct zoran zorans[ZORAN_MAX]; | 79 | static struct zoran zorans[ZORAN_MAX]; |