* [BK PATCHES] 2.6.x misc updates (OSS drvr module_param stuff)
@ 2004-11-15 6:45 Jeff Garzik
0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2004-11-15 6:45 UTC (permalink / raw)
To: linux-kernel
BK users:
bk pull bk://gkernel.bkbits.net/misc-2.6
This will update the following files:
sound/oss/i810_audio.c | 12 ++++++------
sound/oss/soundcard.c | 4 ++--
sound/oss/uart401.c | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
through these ChangeSets:
<jgarzik@pobox.com> (04/11/14 1.2162)
[sound/oss] use module_param() in soundcard.c and uart401.c
<jgarzik@pobox.com> (04/11/14 1.2161)
[sound/oss i810_audio] use module_param()
Also, set MODULE_AUTHOR and correct module name in a macro.
diff -Nru a/sound/oss/i810_audio.c b/sound/oss/i810_audio.c
--- a/sound/oss/i810_audio.c 2004-11-14 22:53:09 -05:00
+++ b/sound/oss/i810_audio.c 2004-11-14 22:53:09 -05:00
@@ -3460,15 +3460,15 @@
}
#endif /* CONFIG_PM */
-MODULE_AUTHOR("");
+MODULE_AUTHOR("The Linux kernel team");
MODULE_DESCRIPTION("Intel 810 audio support");
MODULE_LICENSE("GPL");
-MODULE_PARM(ftsodell, "i");
-MODULE_PARM(clocking, "i");
-MODULE_PARM(strict_clocking, "i");
-MODULE_PARM(spdif_locked, "i");
+module_param(ftsodell, int, 0444);
+module_param(clocking, uint, 0444);
+module_param(strict_clocking, int, 0444);
+module_param(spdif_locked, int, 0444);
-#define I810_MODULE_NAME "intel810_audio"
+#define I810_MODULE_NAME "i810_audio"
static struct pci_driver i810_pci_driver = {
.name = I810_MODULE_NAME,
diff -Nru a/sound/oss/soundcard.c b/sound/oss/soundcard.c
--- a/sound/oss/soundcard.c 2004-11-14 22:53:09 -05:00
+++ b/sound/oss/soundcard.c 2004-11-14 22:53:09 -05:00
@@ -535,8 +535,8 @@
static int dmabuf;
static int dmabug;
-MODULE_PARM(dmabuf, "i");
-MODULE_PARM(dmabug, "i");
+module_param(dmabuf, int, 0444);
+module_param(dmabug, int, 0444);
static int __init oss_init(void)
{
diff -Nru a/sound/oss/uart401.c b/sound/oss/uart401.c
--- a/sound/oss/uart401.c 2004-11-14 22:53:09 -05:00
+++ b/sound/oss/uart401.c 2004-11-14 22:53:09 -05:00
@@ -430,11 +430,11 @@
static struct address_info cfg_mpu;
-static int __initdata io = -1;
-static int __initdata irq = -1;
+static int io = -1;
+static int irq = -1;
-MODULE_PARM(io, "i");
-MODULE_PARM(irq, "i");
+module_param(io, int, 0444);
+module_param(irq, int, 0444);
static int __init init_uart401(void)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-15 6:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-15 6:45 [BK PATCHES] 2.6.x misc updates (OSS drvr module_param stuff) Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®