mirror of https://gitee.com/openkylin/linux.git
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 <peterhuewe@gmx.de> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
24d8e51ef3
commit
49d2dbee8b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue