From 1bc7576474a85b649e2f3291d72890363e6d1483 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 8 Apr 2004 12:09:10 +0000 Subject: patch from Linux kernel 2.6.5 --- linux-core/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core') 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 -- cgit v1.2.3