]> git.baikalelectronics.ru Git - kernel.git/commit
[media] m5mols: Add missing #include <linux/sizes.h>
authorSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Sat, 6 Oct 2012 18:04:40 +0000 (15:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 10 Oct 2012 11:17:16 +0000 (08:17 -0300)
commit4346fde816cffef927a00a59e25f8aca7f0c54bc
tree13dc659b91e7e6eaf707b9e6d98db2e7007db7ce
parentcba7e24ae9bab7e8121986817359ec6e8f34a191
[media] m5mols: Add missing #include <linux/sizes.h>

Include <linux/sizes.h> header that is missing after commit 14df5f6338e7b
"[media] m5mols: Implement .get_frame_desc subdev callback".
It prevents possible build errors due to undefined SZ_1M.

This header is currently included only when m5mols is compiled
on arm; if build on other archs, the compilation will break.

Reported-by: Jan Hoogenraad <jan-conceptronic@hoogenraad.net>
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/m5mols/m5mols.h