#include <linux/module.h>
#include <linux/init.h>
+#include <linux/config.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
INIT_WORK(&hw->tqueue, (void *) (void *) hfc4s8s_bh, hw);
if (request_irq
- (hw->irq, hfc4s8s_interrupt, IRQF_SHARED, hw->card_name, hw)) {
+ (hw->irq, hfc4s8s_interrupt, SA_SHIRQ, hw->card_name, hw)) {
printk(KERN_INFO
"HFC-4S/8S: unable to alloc irq %d, card ignored\n",
hw->irq);
/* driver module exit : */
/* release the HFC-4s/8s hardware */
/*************************************/
-static void __exit
+static void
hfc4s8s_module_exit(void)
{
pci_unregister_driver(&hfc4s8s_driver);