From 49d2dbee8b05ad12a3e5da9c7f28074ca30621b7 Mon Sep 17 00:00:00 2001 From: Peter Huewe Date: Mon, 21 Jan 2013 22:23:46 +0100 Subject: [PATCH] staging/comedi: Add pci_driver.name to skel driver This patch adds the comedi_driver.name to pci_driver.name to the skel driver, so we can remove the workaround in drivers.c Signed-off-by: Peter Huewe Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/skel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/comedi/drivers/skel.c b/drivers/staging/comedi/drivers/skel.c index e2d79700a615..48178ca2e355 100644 --- a/drivers/staging/comedi/drivers/skel.c +++ b/drivers/staging/comedi/drivers/skel.c @@ -713,6 +713,7 @@ static void skel_pci_remove(struct pci_dev *dev) } static struct pci_driver skel_pci_driver = { + .name = "dummy", .id_table = skel_pci_table, .probe = &skel_pci_probe, .remove = &skel_pci_remove -- 2.20.1