[media] media: Move media_device link_notify operation to an ops structure
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 3 Nov 2015 02:27:51 +0000 (00:27 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 14:20:09 +0000 (11:20 -0300)
commit68429f50ab60074e58b98010103fcc5bac4afd54
tree79238fd7fd84b0d20692ef653c735c0fe22dfc57
parentdc3cdbc9d4dc22948d7f934789ee71baba55bc82
[media] media: Move media_device link_notify operation to an ops structure

This will allow adding new operations without increasing the
media_device structure size for drivers that don't implement any media
device operation.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/media-entity.c
drivers/media/platform/exynos4-is/media-dev.c
drivers/media/platform/omap3isp/isp.c
drivers/staging/media/omap4iss/iss.c
include/media/media-device.h