[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210628144422.895526-1-eric.auger@redhat.com>
Date: Mon, 28 Jun 2021 16:44:22 +0200
From: Eric Auger <eric.auger@...hat.com>
To: eric.auger.pro@...il.com, eric.auger@...hat.com,
linux-kernel@...r.kernel.org, mihai.carabas@...cle.com
Cc: arnd@...db.de, gregkh@...uxfoundation.org, pizhenwei@...edance.com,
andriy.shevchenko@...ux.intel.com, pbonzini@...hat.com,
joe@...ches.com
Subject: [PATCH] misc/pvpanic-pci: Allow automatic loading
The pvpanic-pci driver does not auto-load and requires manual
modprobe. Let's include a device database using the
MODULE_DEVICE_TABLE macro.
Signed-off-by: Eric Auger <eric.auger@...hat.com>
---
drivers/misc/pvpanic/pvpanic-pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/misc/pvpanic/pvpanic-pci.c b/drivers/misc/pvpanic/pvpanic-pci.c
index 9ecc4e8559d5d..30290d42d8aa8 100644
--- a/drivers/misc/pvpanic/pvpanic-pci.c
+++ b/drivers/misc/pvpanic/pvpanic-pci.c
@@ -122,4 +122,6 @@ static struct pci_driver pvpanic_pci_driver = {
},
};
+MODULE_DEVICE_TABLE(pci, pvpanic_pci_id_tbl);
+
module_pci_driver(pvpanic_pci_driver);
--
2.26.3
Powered by blists - more mailing lists