diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-02-13 22:09:00 +0100 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2007-02-13 22:09:00 +0100 |
commit | b8d6f45b32f6fe72bf7304183275e99332544ce1 (patch) | |
tree | eaa3041831b0f48b0746ed442d10f7496ec0c56a /drivers/i2c/busses | |
parent | 099ab118b6b194ad43865f62776a0d36d4b1c7d2 (diff) | |
download | op-kernel-dev-b8d6f45b32f6fe72bf7304183275e99332544ce1.zip op-kernel-dev-b8d6f45b32f6fe72bf7304183275e99332544ce1.tar.gz |
i2c: completion header cleanups
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>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-isa.c | 1 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-powermac.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-isa.c b/drivers/i2c/busses/i2c-isa.c index 8ed59a2..5f33bc9 100644 --- a/drivers/i2c/busses/i2c-isa.c +++ b/drivers/i2c/busses/i2c-isa.c @@ -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); diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 648d555..1425d224 100644 --- a/drivers/i2c/busses/i2c-powermac.c +++ b/drivers/i2c/busses/i2c-powermac.c @@ -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> |