Commit 95bbe328 authored by Jeff Garzik's avatar Jeff Garzik Committed by Linus Torvalds

[sound/oss] use module_param() in soundcard.c and uart401.c

parent f6e2d606
...@@ -535,8 +535,8 @@ static const struct { ...@@ -535,8 +535,8 @@ static const struct {
static int dmabuf; static int dmabuf;
static int dmabug; static int dmabug;
MODULE_PARM(dmabuf, "i"); module_param(dmabuf, int, 0444);
MODULE_PARM(dmabug, "i"); module_param(dmabug, int, 0444);
static int __init oss_init(void) static int __init oss_init(void)
{ {
......
...@@ -430,11 +430,11 @@ EXPORT_SYMBOL(uart401intr); ...@@ -430,11 +430,11 @@ EXPORT_SYMBOL(uart401intr);
static struct address_info cfg_mpu; static struct address_info cfg_mpu;
static int __initdata io = -1; static int io = -1;
static int __initdata irq = -1; static int irq = -1;
MODULE_PARM(io, "i"); module_param(io, int, 0444);
MODULE_PARM(irq, "i"); module_param(irq, int, 0444);
static int __init init_uart401(void) static int __init init_uart401(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment