Prev: [PATCH -mmotm] backlight: fix adp8860_bl build errors
Next: mm,migration: Avoid race between shift_arg_pages() and rmap_walk() during migration by not migrating temporary stacks
From: Randy Dunlap on 12 May 2010 16:50 From: Randy Dunlap <randy.dunlap(a)oracle.com> Add slab.h to fix build: drivers/misc/ad525x_dpot.c:609: error: implicit declaration of function 'kzalloc' drivers/misc/ad525x_dpot.c:609: warning: assignment makes pointer from integer without a cast drivers/misc/ad525x_dpot.c:656: error: implicit declaration of function 'kfree' Signed-off-by: Randy Dunlap <randy.dunlap(a)oracle.com> Cc: Michael Hennerich <michael.hennerich(a)analog.com> --- drivers/misc/ad525x_dpot.c | 1 + 1 file changed, 1 insertion(+) --- mmotm-2010-0511-1820.orig/drivers/misc/ad525x_dpot.c +++ mmotm-2010-0511-1820/drivers/misc/ad525x_dpot.c @@ -70,6 +70,7 @@ #include <linux/kernel.h> #include <linux/init.h> #include <linux/delay.h> +#include <linux/slab.h> #define DRIVER_VERSION "0.2" -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |