diff options
-rw-r--r-- | linux-core/drm_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c index 7673aaa3..a9eef8bc 100644 --- a/linux-core/drm_drv.c +++ b/linux-core/drm_drv.c @@ -493,7 +493,7 @@ static int __init drm_core_init(void) } drm_agp = symbol_get(drm_agp_entry); if (!drm_agp) { - drm_agp = inter_module_get("agp"); + drm_agp = inter_module_get("drm_agp"); use_inter_module = 1; } DRM_DEBUG("drm_agp %p\n", drm_agp); @@ -515,7 +515,7 @@ static void __exit drm_core_exit(void) { if (drm_agp) { if (use_inter_module) - inter_module_put("agp"); + inter_module_put("drm_agp"); else symbol_put(drm_agp_entry); } |