Commit c88db233 authored by Danny Kukawka's avatar Danny Kukawka Committed by Grant Likely

spi-topcliff-pch: rename pch_spi_pcidev to pch_spi_pcidev_driver

Rename static struct pci_driver pch_spi_pcidev to
pch_spi_pcidev_driver to get rid of warnings from modpost checks.
Signed-off-by: default avatarDanny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent b1a4874e
......@@ -1720,7 +1720,7 @@ static int pch_spi_resume(struct pci_dev *pdev)
#endif
static struct pci_driver pch_spi_pcidev = {
static struct pci_driver pch_spi_pcidev_driver = {
.name = "pch_spi",
.id_table = pch_spi_pcidev_id,
.probe = pch_spi_probe,
......@@ -1736,7 +1736,7 @@ static int __init pch_spi_init(void)
if (ret)
return ret;
ret = pci_register_driver(&pch_spi_pcidev);
ret = pci_register_driver(&pch_spi_pcidev_driver);
if (ret)
return ret;
......@@ -1746,7 +1746,7 @@ module_init(pch_spi_init);
static void __exit pch_spi_exit(void)
{
pci_unregister_driver(&pch_spi_pcidev);
pci_unregister_driver(&pch_spi_pcidev_driver);
platform_driver_unregister(&pch_spi_pd_driver);
}
module_exit(pch_spi_exit);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment