diff options
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c index 83b9600c..06eaf3b9 100644 --- a/linux-core/drm_drv.c +++ b/linux-core/drm_drv.c @@ -601,7 +601,7 @@ static int DRM(probe)(struct pci_dev *pdev) DRM_ERROR( "Cannot initialize the agpgart module.\n" ); DRM(stub_unregister)(dev->minor); DRM(takedown)( dev ); - return -ENOMEM; + return -EINVAL; } #endif #if __REALLY_HAVE_MTRR |