sound: fix up header cleanups: add include <linux/interrupt.h>

also fix a bug in hammerfall driver, removing __exit from a function
that is called from a non __exit function.
parent 2ea2d9ad
...@@ -19,15 +19,17 @@ ...@@ -19,15 +19,17 @@
*/ */
#include <sound/driver.h> #include <sound/driver.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/ad1816a.h> #include <sound/ad1816a.h>
#include <asm/io.h>
#include <asm/dma.h>
MODULE_AUTHOR("Massimo Piccioni <dafastidio@libero.it>"); MODULE_AUTHOR("Massimo Piccioni <dafastidio@libero.it>");
MODULE_DESCRIPTION("lowlevel code for Analog Devices AD1816A chip"); MODULE_DESCRIPTION("lowlevel code for Analog Devices AD1816A chip");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
......
...@@ -178,7 +178,7 @@ void snd_hammerfall_free_buffer (struct pci_dev *pcidev, void *addr) ...@@ -178,7 +178,7 @@ void snd_hammerfall_free_buffer (struct pci_dev *pcidev, void *addr)
printk ("Hammerfall memory allocator: unknown buffer address or PCI device ID"); printk ("Hammerfall memory allocator: unknown buffer address or PCI device ID");
} }
static void __exit hammerfall_free_buffers (void) static void hammerfall_free_buffers (void)
{ {
int i; int i;
......
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