[Openchrome-devel] drm-openchrome: Branch 'drm-next-4.13' - drivers/gpu/drm

Kevin Brace kevinbrace at kemper.freedesktop.org
Fri Aug 4 12:27:08 UTC 2017


 drivers/gpu/drm/openchrome/via_drv.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a31cc12ca986dd96a3e3ab8f095cca31a23f0783
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Fri Aug 4 05:25:55 2017 -0700

    Replace drm_pci_init/exit with new replacements
    
    Commit 10631d724deff712343d96dd3017cd323349f761 made this change,
    so our side needs to change as well.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/drivers/gpu/drm/openchrome/via_drv.c b/drivers/gpu/drm/openchrome/via_drv.c
index f507d2cc2a90..e7a8cde83c05 100644
--- a/drivers/gpu/drm/openchrome/via_drv.c
+++ b/drivers/gpu/drm/openchrome/via_drv.c
@@ -541,12 +541,12 @@ static int __init via_init(void)
 #endif
 		via_driver.driver_features |= DRIVER_MODESET;
 	}
-	return drm_pci_init(&via_driver, &via_pci_driver);
+	return pci_register_driver(&via_pci_driver);
 }
 
 static void __exit via_exit(void)
 {
-	drm_pci_exit(&via_driver, &via_pci_driver);
+	pci_unregister_driver(&via_pci_driver);
 }
 
 module_init(via_init);


More information about the Openchrome-devel mailing list