diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2007-05-10 03:15:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-10 09:26:53 -0700 |
commit | c91e23c63f77a7643d857a082248cf2cdb71b67c (patch) | |
tree | 88cef3ade3d2870dfa91f7b9f229f7acb6da6985 /drivers/i2c/busses | |
parent | 6e99806ebb33c1b4906ce4f99eec65d4962f12b9 (diff) | |
download | kernel_samsung_smdk4412-c91e23c63f77a7643d857a082248cf2cdb71b67c.zip kernel_samsung_smdk4412-c91e23c63f77a7643d857a082248cf2cdb71b67c.tar.gz kernel_samsung_smdk4412-c91e23c63f77a7643d857a082248cf2cdb71b67c.tar.bz2 |
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 <adobriyan@gmail.com>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-at91.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 1dcb714..9c8b6d5 100644 --- a/drivers/i2c/busses/i2c-at91.c +++ b/drivers/i2c/busses/i2c-at91.c @@ -16,6 +16,7 @@ #include <linux/module.h> #include <linux/version.h> #include <linux/kernel.h> +#include <linux/err.h> #include <linux/slab.h> #include <linux/types.h> #include <linux/delay.h> |