patch-2.3.36 linux/drivers/char/drm/tdfx_drv.c
Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/char/drm/init.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Tue Jan 4 09:41:45 2000
- Orig file:
v2.3.35/linux/drivers/char/drm/tdfx_drv.c
- Orig date:
Wed Dec 8 14:11:25 1999
diff -u --recursive --new-file v2.3.35/linux/drivers/char/drm/tdfx_drv.c linux/drivers/char/drm/tdfx_drv.c
@@ -29,7 +29,6 @@
*
*/
-#define EXPORT_SYMTAB
#include <linux/config.h>
#include "drmP.h"
#include "tdfx_drv.h"
@@ -89,7 +88,9 @@
};
#define TDFX_IOCTL_COUNT DRM_ARRAY_SIZE(tdfx_ioctls)
+#ifdef MODULE
static char *tdfx = NULL;
+#endif
MODULE_AUTHOR("Precision Insight, Inc., Cedar Park, Texas.");
MODULE_DESCRIPTION("tdfx");
@@ -587,10 +588,11 @@
module_init(tdfx_init);
module_exit(tdfx_cleanup);
+#ifndef MODULE
/*
* tdfx_setup is called by the kernel to parse command-line options passed
* via the boot-loader (e.g., LILO). It calls the insmod option routine,
- * drm_parse_drm.
+ * drm_parse_options.
*/
static int __init tdfx_options(char *str)
{
@@ -599,3 +601,4 @@
}
__setup("tdfx=", tdfx_options);
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)