patch-2.4.20 linux-2.4.20/drivers/char/drm/drm_stub.h

Next file: linux-2.4.20/drivers/char/drm/drm_vm.h
Previous file: linux-2.4.20/drivers/char/drm/drm_scatter.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/char/drm/drm_stub.h linux-2.4.20/drivers/char/drm/drm_stub.h
@@ -28,13 +28,8 @@
  *
  */
 
-#define __NO_VERSION__
 #include "drmP.h"
 
-#if LINUX_VERSION_CODE < 0x020400
-#include "stubsupport-pre24.h"
-#endif
-
 #define DRM_STUB_MAXCARDS 16	/* Enough for one machine */
 
 static struct drm_stub_list {
@@ -70,9 +65,7 @@
 }
 
 static struct file_operations DRM(stub_fops) = {
-#if LINUX_VERSION_CODE >= 0x020400
 	owner:   THIS_MODULE,
-#endif
 	open:	 DRM(stub_open)
 };
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)