i2c: completion header cleanups
authorJean Delvare <khali@linux-fr.org>
Tue, 13 Feb 2007 21:09:00 +0000 (22:09 +0100)
committerJean Delvare <khali@arrakis.delvare>
Tue, 13 Feb 2007 21:09:00 +0000 (22:09 +0100)
i2c-core and i2c-isa use completions without including
<linux/completion.h>. Fix it.

i2c-powermac includes <linux/completion.h> but doesn't use any
completion. Fix it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Brownell <david-b@pacbell.net>
drivers/i2c/busses/i2c-isa.c
drivers/i2c/busses/i2c-powermac.c
drivers/i2c/i2c-core.c

index 8ed59a2dff532124afc6e899f1df3d6a4622f106..5f33bc9c1e02ba7c134121c5beb8880c51f79eb3 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/i2c.h>
 #include <linux/i2c-isa.h>
 #include <linux/platform_device.h>
+#include <linux/completion.h>
 
 static u32 isa_func(struct i2c_adapter *adapter);
 
index 648d55533d87e1a53a9b1d6a58bd21a7f17a77ab..1425d2245c827f8f9a103a3f74dfb3a7cfb70df3 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/types.h>
 #include <linux/i2c.h>
 #include <linux/init.h>
-#include <linux/completion.h>
 #include <linux/device.h>
 #include <linux/platform_device.h>
 #include <asm/prom.h>
index b05378a3d673fb67de094c3c0e4c33e9c7836d87..60f6eb194046386535a8f8d7883921501d1f635c 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/seq_file.h>
 #include <linux/platform_device.h>
 #include <linux/mutex.h>
+#include <linux/completion.h>
 #include <asm/uaccess.h>