From: Alexey Dobriyan Date: Thu, 10 May 2007 10:15:58 +0000 (-0700) Subject: i2c-at91: compile fix (IS_ERR) X-Git-Tag: v2.6.22-rc1~114 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c91e23c63f77a7643d857a082248cf2cdb71b67c;p=linux-2.6 i2c-at91: compile fix (IS_ERR) CC drivers/i2c/busses/i2c-at91.o drivers/i2c/busses/i2c-at91.c: In function 'at91_i2c_probe': drivers/i2c/busses/i2c-at91.c:213: warning: implicit declaration of function 'IS_ERR' Signed-off-by: Alexey Dobriyan Cc: David Brownell Acked-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 1dcb714af5..9c8b6d5eae 100644 --- a/drivers/i2c/busses/i2c-at91.c +++ b/drivers/i2c/busses/i2c-at91.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include