Home
last modified time | relevance | path

Searched hist:"773 bcf8c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dv4l2-common.h773bcf8c Sun Apr 06 08:48:31 CDT 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> [media] v4l2-common: fix warning when used on userpace

As reported by Linus, make headers_check is reporting:
usr/include/linux/v4l2-common.h:72: found __[us]{8,16,32,64} type without #include <linux/types.h>

which seems to have come in through commits 777f4f85b75f1 and
254a47770163f.

That happens because struct v4l2_edid should be visible by both
subdev and V4L2 APIs. So, it was moved to v4l2-common.h.

As Linus pointed, the proper fix is to just add an include for
linux/types.h at v4l2-common.h.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
773bcf8c Sun Apr 06 08:48:31 CDT 2014 Mauro Carvalho Chehab <m.chehab@samsung.com> [media] v4l2-common: fix warning when used on userpace

As reported by Linus, make headers_check is reporting:
usr/include/linux/v4l2-common.h:72: found __[us]{8,16,32,64} type without #include <linux/types.h>

which seems to have come in through commits 777f4f85b75f1 and
254a47770163f.

That happens because struct v4l2_edid should be visible by both
subdev and V4L2 APIs. So, it was moved to v4l2-common.h.

As Linus pointed, the proper fix is to just add an include for
linux/types.h at v4l2-common.h.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>