]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: Fix media_entity_to_video_device macro argument name
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 2 May 2011 19:21:03 +0000 (16:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 1 Jun 2011 12:42:03 +0000 (09:42 -0300)
commit58bf2f164cf10e6115bb1e74b1071a271c7a115f
tree88765aa85befb786fc2b59ce914ede7606aa38a0
parent48599e9bde184af8126c9331e3910ae9d222fcc0
[media] v4l: Fix media_entity_to_video_device macro argument name

The name 'entity' is used twice in the macro body, once as the macro
argument, and once as a structure field name. This breaks compilation if
the macro is called with its argument not named 'entity'.

Fix this by renaming the macro argument '__e'. This should avoid
namespace clashes.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-dev.h