]> Git Repo - linux.git/commitdiff
[media] m5mols: Add missing #include <linux/sizes.h>
authorSylwester Nawrocki <[email protected]>
Sat, 6 Oct 2012 18:04:40 +0000 (15:04 -0300)
committerMauro Carvalho Chehab <[email protected]>
Wed, 10 Oct 2012 11:17:16 +0000 (08:17 -0300)
Include <linux/sizes.h> header that is missing after commit ab7ef22419927
"[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 <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/i2c/m5mols/m5mols.h

index 4ab8b370e6650c9cf193ee3ee2220b13d65e028b..90a6c520f115587f96d5e0174c01dd55480bd768 100644 (file)
@@ -16,6 +16,7 @@
 #ifndef M5MOLS_H
 #define M5MOLS_H
 
+#include <linux/sizes.h>
 #include <media/v4l2-subdev.h>
 #include "m5mols_reg.h"
 
This page took 0.058544 seconds and 4 git commands to generate.