patch-2.3.99-pre6 linux/drivers/sound/dmasound/dmasound.h

Next file: linux/drivers/sound/dmasound/dmasound_atari.c
Previous file: linux/drivers/sound/dmabuf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/sound/dmasound/dmasound.h linux/drivers/sound/dmasound/dmasound.h
@@ -1,6 +1,6 @@
 
 /*
- *  linux/drivers/sound/dmasound.h
+ *  linux/drivers/sound/dmasound/dmasound.h
  *
  *
  *  Minor numbers for the sound driver.
@@ -89,7 +89,11 @@
      */
 
 extern int dmasound_init(void);
+#ifdef MODULE
 extern void dmasound_deinit(void);
+#else
+#define dmasound_deinit()	do { } while (0)
+#endif
 
 
     /*
@@ -106,7 +110,7 @@
     int (*irqinit)(void);
 #ifdef MODULE
     void (*irqcleanup)(void);
-#endif /* MODULE */
+#endif
     void (*init)(void);
     void (*silence)(void);
     int (*setFormat)(int);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)