summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tdfx/tdfx_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/tdfx/tdfx_drv.c')
-rw-r--r--drivers/gpu/drm/tdfx/tdfx_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tdfx/tdfx_drv.c b/drivers/gpu/drm/tdfx/tdfx_drv.c
index acd5f81..3a14768 100644
--- a/drivers/gpu/drm/tdfx/tdfx_drv.c
+++ b/drivers/gpu/drm/tdfx/tdfx_drv.c
@@ -71,12 +71,12 @@ static struct pci_driver tdfx_pci_driver = {
static int __init tdfx_init(void)
{
- return drm_pci_init(&driver, &tdfx_pci_driver);
+ return drm_legacy_pci_init(&driver, &tdfx_pci_driver);
}
static void __exit tdfx_exit(void)
{
- drm_pci_exit(&driver, &tdfx_pci_driver);
+ drm_legacy_pci_exit(&driver, &tdfx_pci_driver);
}
module_init(tdfx_init);
OpenPOWER on IntegriCloud