diff options
author | Mauro Carvalho Chehab | 2017-10-31 15:53:51 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2017-11-01 17:25:46 +0100 |
commit | 3708713fbf9b31f2241dca0519d80ebc247d272c (patch) | |
tree | 0afa75c2b12067aa103d95d3a99f2ae554861f22 /drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c | |
parent | media: atomisp: fix other inconsistent identing (diff) | |
download | kernel-qcow2-linux-3708713fbf9b31f2241dca0519d80ebc247d272c.tar.gz kernel-qcow2-linux-3708713fbf9b31f2241dca0519d80ebc247d272c.tar.xz kernel-qcow2-linux-3708713fbf9b31f2241dca0519d80ebc247d272c.zip |
media: atomisp: get rid of wrong stddef.h include
The places at atomisp.h that use stddef.h are wrong: the
types it needs are actually defined at linux/types.h. Also,
it causes lots of smatch warnings due to the redefinition of
ofsetof() macro:
/opt/gcc-7.1.0/x86/lib/gcc/x86_64-pc-linux-gnu/7.1.0/include/stddef.h:417:9: warning: preprocessor token offsetof redefined
./include/linux/stddef.h:16:9: this was the original definition
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/s3a/s3a_1.0/ia_css_s3a.host.c')
0 files changed, 0 insertions, 0 deletions