On Fri, Jan 22, 2016 at 1:56 AM, Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxxxxx> > Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> > diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c > index 56e683b19a73..a35c292955e7 100644 > --- a/drivers/media/platform/omap3isp/isp.c > +++ b/drivers/media/platform/omap3isp/isp.c > @@ -851,6 +851,10 @@ static int isp_pipeline_link_notify(struct media_link *link, u32 flags, > return 0; > } > > +static const struct media_device_ops isp_media_ops { static const struct media_device_ops isp_media_ops = { Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx> > + .link_notify = isp_pipeline_link_notify, > +}; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds