aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorSylwester Nawrocki <sylvester.nawrocki@gmail.com>2012-10-06 14:04:40 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-10 07:17:16 -0400
commit1fdead8ad31d3aa833bc37739273fcde89ace93c (patch)
tree13dc659b91e7e6eaf707b9e6d98db2e7007db7ce /drivers/media/i2c
parent56a960bf3fedc7dcf72ae072a64ffffe584e1f0e (diff)
[media] m5mols: Add missing #include <linux/sizes.h>
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 <jan-conceptronic@hoogenraad.net> Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/m5mols/m5mols.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/m5mols/m5mols.h b/drivers/media/i2c/m5mols/m5mols.h
index 4ab8b370e665..90a6c520f115 100644
--- a/drivers/media/i2c/m5mols/m5mols.h
+++ b/drivers/media/i2c/m5mols/m5mols.h
@@ -16,6 +16,7 @@
16#ifndef M5MOLS_H 16#ifndef M5MOLS_H
17#define M5MOLS_H 17#define M5MOLS_H
18 18
19#include <linux/sizes.h>
19#include <media/v4l2-subdev.h> 20#include <media/v4l2-subdev.h>
20#include "m5mols_reg.h" 21#include "m5mols_reg.h"
21 22