From 29cc552a6b0a7119ac0f808b6c20029350417ed8 Mon Sep 17 00:00:00 2001 From: internal Date: Tue, 25 Oct 2022 19:29:38 +0200 Subject: [PATCH] not only used on exit, also on failed init --- ddbridge/ddbridge-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddbridge/ddbridge-main.c b/ddbridge/ddbridge-main.c index fd483c2..955fb12 100644 --- a/ddbridge/ddbridge-main.c +++ b/ddbridge/ddbridge-main.c @@ -84,7 +84,7 @@ int pci_irq_vector(struct pci_dev *dev, unsigned int nr) /****************************************************************************/ /****************************************************************************/ -static void __devexit ddb_irq_disable(struct ddb *dev) +static void ddb_irq_disable(struct ddb *dev) { if (dev->link[0].info->regmap->irq_version == 2) { ddbwritel(dev, 0x00000000, INTERRUPT_V2_CONTROL); @@ -114,7 +114,7 @@ static void __devexit ddb_msi_exit(struct ddb *dev) #endif } -static void __devexit ddb_irq_exit(struct ddb *dev) +static void ddb_irq_exit(struct ddb *dev) { ddb_irq_disable(dev); if (dev->msi == 2)