]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Make ip2 module variable dependant on CONFIG_MODULE
authorDave Jones <davej@codemonkey.org.uk>
Wed, 8 Jan 2003 10:54:44 +0000 (02:54 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 8 Jan 2003 10:54:44 +0000 (02:54 -0800)
drivers/char/ip2.c

index 6b7465098955a93fa43ffe7bb6ba5a76732df888..334d40c1857252c7828e3d03c1bc598e31085f16 100644 (file)
@@ -33,10 +33,11 @@ ip2_loadmain(int *, int  *, unsigned char *, int ); // ref into ip2main.c
 */
 static int io[IP2_MAX_BOARDS]= { 0, 0, 0, 0 };
 static int irq[IP2_MAX_BOARDS] = { -1, -1, -1, -1 }; 
-static int poll_only = 0;
 
 #ifdef MODULE
 
+static int poll_only = 0;
+
 #      if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,0)
                MODULE_AUTHOR("Doug McNash");
                MODULE_DESCRIPTION("Computone IntelliPort Plus Driver");