OSDN Git Service

media: v4l2-compat-ioctl32.c: add missing #ifdef CONFIG_COMPAT_32BIT_TIMEs
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 9 Nov 2020 08:47:44 +0000 (09:47 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 17 Nov 2020 06:14:46 +0000 (07:14 +0100)
commit9463e07df8e0f93931e32c6f415d3f82bda63f35
treeb68ce525c11aade2df63320c215c7966fb387239
parentdcdff74fa6bc00c32079d0bebd620764c26f2d89
media: v4l2-compat-ioctl32.c: add missing #ifdef CONFIG_COMPAT_32BIT_TIMEs

In two places time32 structures were defined, but they are not
used if CONFIG_COMPAT_32BIT_TIME is not set. Put these two structs
under #ifdef CONFIG_COMPAT_32BIT_TIME as well to clearly indicate
that they are only used if that config option is set.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c