X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=include%2Fmedia%2Fv4l2-dev.h;h=c7c40f1d2624a7eb7988ee376e324904b54c1d39;hp=93e96fb934526e44b327e8d677bb91f7accd80c4;hb=842c895d140a75e5d67fa346213deb3ca2b460f8;hpb=014322dac6ae0048c928c6ca2faf0d53194f9d15 diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index 93e96fb93452..c7c40f1d2624 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h @@ -128,8 +128,8 @@ struct video_device struct mutex *lock; }; -#define media_entity_to_video_device(entity) \ - container_of(entity, struct video_device, entity) +#define media_entity_to_video_device(__e) \ + container_of(__e, struct video_device, entity) /* dev to video-device */ #define to_video_device(cd) container_of(cd, struct video_device, dev)