patch-2.1.94 linux/drivers/sound/adlib_card.c
Next file: linux/drivers/sound/audio.c
Previous file: linux/drivers/sound/ad1848_mixer.h
Back to the patch index
Back to the overall index
- Lines: 49
- Date:
Wed Apr 8 17:24:48 1998
- Orig file:
v2.1.93/linux/drivers/sound/adlib_card.c
- Orig date:
Tue Jan 20 16:44:57 1998
diff -u --recursive --new-file v2.1.93/linux/drivers/sound/adlib_card.c linux/drivers/sound/adlib_card.c
@@ -2,19 +2,17 @@
* sound/adlib_card.c
*
* Detection routine for the AdLib card.
- */
-
-/*
+ *
* Copyright (C) by Hannu Savolainen 1993-1997
*
* OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
* Version 2 (June 1991). See the "COPYING" file distributed with this software
* for more info.
*/
-#include <linux/config.h>
-#include <linux/module.h>
+#include <linux/config.h>
+#include <linux/module.h>
#include "sound_config.h"
#include "soundmodule.h"
@@ -28,7 +26,8 @@
int probe_adlib(struct address_info *hw_config)
{
- if (check_region(hw_config->io_base, 4)) {
+ if (check_region(hw_config->io_base, 4))
+ {
DDB(printk("opl3.c: I/O port %x already in use\n", hw_config->io_base));
return 0;
}
@@ -46,12 +45,14 @@
int io = -1;
MODULE_PARM(io, "i");
+EXPORT_NO_SYMBOLS;
+
struct address_info cfg;
int init_module(void)
{
if (io == -1) {
- printk("adlib: must specify I/O address.\n");
+ printk(KERN_ERR "adlib: must specify I/O address.\n");
return -EINVAL;
}
cfg.io_base = io;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov