patch from Linux kernel 2.6.5
parent
bc1428035c
commit
1bc7576474
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -84,7 +84,7 @@ ssize_t DRM(read)(struct file *filp, char *buf, size_t count, loff_t *off)
|
|||
}
|
||||
|
||||
wake_up_interruptible(&dev->buf_writers);
|
||||
return DRM_MIN(avail, count);;
|
||||
return DRM_MIN(avail, count);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue