This patch converts MODULE_PARM to module_param, fixing a "deprecated"
warning with 2.6.10-rc*.

Signed-Off-By: Lee Revell <[EMAIL PROTECTED]>

Index: dri/drm/linux/drm_drv.h
===================================================================
RCS file: /cvs/dri/drm/linux/drm_drv.h,v
retrieving revision 1.93
diff -u -r1.93 drm_drv.h
--- dri/drm/linux/drm_drv.h     31 Oct 2004 15:16:43 -0000      1.93
+++ dri/drm/linux/drm_drv.h     22 Dec 2004 02:10:08 -0000
@@ -507,7 +507,7 @@
 #ifdef MODULE
 static char *drm_opts = NULL;
 #endif
-MODULE_PARM( drm_opts, "s" );
+module_param(drm_opts, charp, 0);
 
 /**
  * Module initialization. Called via init_module at module load time, or via






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to