[Android Software Development] Alonso1398:
Yes, I downloaded the kernel source from the samsung release center and tried to add to it selinux support. Now I'm facing errors with the make and don't know what to do. This is what appears to me when it's going to give error and when finally gives error, does it is a very specific error to me? Any ideas?

Building with KERNELRELEASE = 3.0.15
CC drivers/media/video/camdrv_ss_sr300pc20.o
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:69:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c: In function 'camdrv_ss_sr300pc20_set_capture_start':
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:601:6: warning: unused variable 'light_state' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c: In function 'camdrv_ss_sr300pc20_i2c_set_data_burst':
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:918:6: warning: unused variable 'err' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:917:6: warning: unused variable 'index' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:916:9: warning: unused variable 'i' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:915:6: warning: unused variable 'next_subaddr' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:913:31: warning: unused variable 'data_value' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:913:20: warning: unused variable 'subaddr' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:912:17: warning: unused variable 'msg' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c: In function 'camdrv_ss_sr300pc20_get_exposureTime':
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1086:17: warning: unused variable 'a_gain' [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c: In function 'camdrv_ss_sr300pc20_copy_files_for_60hz':
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1835:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1836:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1837:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1838:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1839:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1840:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1841:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1842:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1843:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1844:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1845:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1846:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1847:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1848:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1849:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1850:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1851:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1852:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1853:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1854:2: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /home/luis/android/kernel/samsung/ivoryss/include/linux/string.h:21:0,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/bitmap.h:8,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/nodemask.h:93,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/mmzone.h:16,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/gfp.h:4,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/kmod.h:22,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/module.h:13,
from /home/luis/android/kernel/samsung/ivoryss/include/linux/i2c.h:31,
from /home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:13:
/home/luis/android/kernel/samsung/ivoryss/arch/arm/include/asm/string.h:16:15: note: expected 'void *' but argument is of type 'const regs_t *'
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:1858:1: warning: no return statement in function returning non-void [-Wreturn-type]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c: At top level:
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:46:13: warning: 'first_af_status' defined but not used [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:790:22: warning: 'pBurstData' defined but not used [-Wunused-variable]
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c: In function 'camdrv_ss_sr300pc20_set_white_balance':
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:65:39: error: inlining failed in call to always_inline 'to_state': function body not available
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:654:26: error: called from here
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c: In function 'camdrv_ss_sr300pc20_set_capture_start':
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:65:39: error: inlining failed in call to always_inline 'to_state': function body not available
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:599:26: error: called from here
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c: In function 'camdrv_ss_sr300pc20_set_preview_start':
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:65:39: error: inlining failed in call to always_inline 'to_state': function body not available
/home/luis/android/kernel/samsung/ivoryss/drivers/media/video/camdrv_ss_sr300pc20.c:525:26: error: called from here
make[5]: *** [drivers/media/video/camdrv_ss_sr300pc20.o] Error 1
make[4]: *** [drivers/media/video] Error 2
make[3]: *** [drivers/media] Error 2
make[3]: *** Se espera a que terminen otras tareas....
make[2]: *** [drivers] Error 2
make[2]: *** Se espera a que terminen otras tareas....
make[1]: *** [sub-make] Error 2
make[1]: se sale del directorio «/home/luis/android/kernel/samsung/ivoryss»
make: *** [TARGET_KERNEL_BINARIES] Error 2