From: Alexey Dobriyan Date: Thu, 10 May 2007 10:15:58 +0000 (-0700) Subject: i2c-at91: compile fix (IS_ERR) X-Git-Tag: Ubuntu-5.2.0-15.16~44524 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c91e23c63f77a7643d857a082248cf2cdb71b67c;p=mirror_ubuntu-eoan-kernel.git 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 1dcb714af55a..9c8b6d5eaec9 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