]> git.neil.brown.name Git - history.git/commitdiff
Fix i2c-keywest compile
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 10:08:37 +0000 (03:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 10:08:37 +0000 (03:08 -0700)
Declare probe _before_ using it. Duh.

drivers/i2c/busses/i2c-keywest.c

index 0992cc02b1d03256bf40cd73810227a9235a92d6..a5a8c1e7987ce58ce21b513b2880285ad20d1351 100644 (file)
@@ -88,13 +88,13 @@ static const char *__kw_state_names[] = {
 };
 #endif /* DEBUG */
 
+static int probe;
+
 MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>");
 MODULE_DESCRIPTION("I2C driver for Apple's Keywest");
 MODULE_LICENSE("GPL");
 module_param(probe, bool, 0);
 
-static int probe;
-
 #ifdef POLLED_MODE
 /* Don't schedule, the g5 fan controller is too
  * timing sensitive