From: Randy Dunlap on 20 May 2010 17:10 From: Randy Dunlap <randy.dunlap(a)oracle.com> Add slab.h to fix ak881x build: drivers/media/video/ak881x.c:265:error: implicit declaration of function 'kzalloc' drivers/media/video/ak881x.c:265:warning: assignment makes pointer from integer without a cast drivers/media/video/ak881x.c:283:error: implicit declaration of function 'kfree' Signed-off-by: Randy Dunlap <randy.dunlap(a)oracle.com> Cc: Guennadi Liakhovetski <g.liakhovetski(a)gmx.de> Cc: Mauro Carvalho Chehab <mchehab(a)infradead.org> --- drivers/media/video/ak881x.c | 1 + 1 file changed, 1 insertion(+) --- mmotm-2010-0519-1612.orig/drivers/media/video/ak881x.c +++ mmotm-2010-0519-1612/drivers/media/video/ak881x.c @@ -11,6 +11,7 @@ #include <linux/i2c.h> #include <linux/init.h> #include <linux/platform_device.h> +#include <linux/slab.h> #include <linux/videodev2.h> #include <media/ak881x.h> -- 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/
|
Pages: 1 Prev: [GIT PATCH] USB patches for 2.6.35 Next: [PATCH -mmotm] backlight: fix s6e63m0 kconfig |