aboutsummaryrefslogtreecommitdiffstats
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 acd5f8162bb6..3a1476818c65 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 = {
71 71
72static int __init tdfx_init(void) 72static int __init tdfx_init(void)
73{ 73{
74 return drm_pci_init(&driver, &tdfx_pci_driver); 74 return drm_legacy_pci_init(&driver, &tdfx_pci_driver);
75} 75}
76 76
77static void __exit tdfx_exit(void) 77static void __exit tdfx_exit(void)
78{ 78{
79 drm_pci_exit(&driver, &tdfx_pci_driver); 79 drm_legacy_pci_exit(&driver, &tdfx_pci_driver);
80} 80}
81 81
82module_init(tdfx_init); 82module_init(tdfx_init);