[Openchrome-devel] drm-openchrome: Branch 'drm-next-3.19' - drivers/gpu/drm
Kevin Brace
kevinbrace at kemper.freedesktop.org
Sun Aug 20 06:05:49 UTC 2017
drivers/gpu/drm/openchrome/via_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a865f92609bcd7fcb154a22c789b4f0a6d9d1f98
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Sat Aug 19 23:05:02 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 b9e2c5bb4e29..73b00cc4549f 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