summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2000-07-20 00:59:40 +0000
committerRik Faith <faith@alephnull.com>2000-07-20 00:59:40 +0000
commit742c33bf6197e6ed18c7de89c7d895fecafaa838 (patch)
treee845c1c3deab53d4cee6d52c1c344c1f20a991b9 /linux
parentc459c9ead3476a8edc1cd453fafa2b1c83c20e60 (diff)
Fix signature for *_options function
Diffstat (limited to 'linux')
-rw-r--r--linux/gamma_drv.c4
-rw-r--r--linux/i810_drv.c2
-rw-r--r--linux/mga_drv.c2
-rw-r--r--linux/r128_drv.c2
-rw-r--r--linux/tdfx_drv.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/linux/gamma_drv.c b/linux/gamma_drv.c
index 0586b4cf..cfe20ad8 100644
--- a/linux/gamma_drv.c
+++ b/linux/gamma_drv.c
@@ -111,8 +111,8 @@ static drm_ioctl_desc_t gamma_ioctls[] = {
#ifdef MODULE
static char *gamma = NULL;
-static int devices = 0;
#endif
+static int devices = 0;
MODULE_AUTHOR("VA Linux Systems, Inc.");
MODULE_DESCRIPTION("3dlabs GMX 2000");
@@ -131,7 +131,7 @@ module_exit(gamma_cleanup);
*/
-static int __init gamma_options(char *str, int *ints)
+static int __init gamma_options(char *str)
{
drm_parse_options(str);
return 1;
diff --git a/linux/i810_drv.c b/linux/i810_drv.c
index 0067785c..c01008ef 100644
--- a/linux/i810_drv.c
+++ b/linux/i810_drv.c
@@ -139,7 +139,7 @@ module_exit(i810_cleanup);
* routine, drm_parse_drm.
*/
-static int __init i810_options(char *str, int *ints)
+static int __init i810_options(char *str)
{
drm_parse_options(str);
return 1;
diff --git a/linux/mga_drv.c b/linux/mga_drv.c
index 3e486d8f..75f14bee 100644
--- a/linux/mga_drv.c
+++ b/linux/mga_drv.c
@@ -138,7 +138,7 @@ module_exit(mga_cleanup);
* drm_parse_drm.
*/
-static int __init mga_options(char *str, int *ints)
+static int __init mga_options(char *str)
{
drm_parse_options(str);
return 1;
diff --git a/linux/r128_drv.c b/linux/r128_drv.c
index 1103832c..125de17d 100644
--- a/linux/r128_drv.c
+++ b/linux/r128_drv.c
@@ -134,7 +134,7 @@ module_exit(r128_cleanup);
* routine, drm_parse_drm.
*/
-static int __init r128_options(char *str, int *ints)
+static int __init r128_options(char *str)
{
drm_parse_options(str);
return 1;
diff --git a/linux/tdfx_drv.c b/linux/tdfx_drv.c
index f102757b..b8e2ec30 100644
--- a/linux/tdfx_drv.c
+++ b/linux/tdfx_drv.c
@@ -122,7 +122,7 @@ module_exit(tdfx_cleanup);
* routine, drm_parse_drm.
*/
-static int __init tdfx_options(char *str, int *ints)
+static int __init tdfx_options(char *str)
{
drm_parse_options(str);
return 1;