Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1565829

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

From Javier Martinez Canillas <javier@dowhile0.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver
Date 2017-01-24 13:50 +0100
Message-ID <t38HU-4mc-23@gated-at.bofh.it> (permalink)
References <sWOLT-2qI-3@gated-at.bofh.it> <sWOLU-2qI-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Steve,

On Fri, Jan 6, 2017 at 11:11 PM, Steve Longerbeam <slongerbeam@gmail.com> wrote:
> From: Philipp Zabel <p.zabel@pengutronix.de>

[snip]

>
> +config VIDEO_MULTIPLEXER
> +       tristate "Video Multiplexer"
> +       depends on VIDEO_V4L2_SUBDEV_API && MEDIA_CONTROLLER

The driver can be build as a module...

> +
> +static const struct of_device_id vidsw_dt_ids[] = {
> +       { .compatible = "video-multiplexer", },
> +       { /* sentinel */ }
> +};
> +

... so you need a MODULE_DEVICE_TABLE(of, vidsw_dt_ids) here or
otherwise module autoloading won't work.

Best regards,
Javier

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver Javier Martinez Canillas <javier@dowhile0.org> - 2017-01-24 13:50 +0100
  Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver Steve Longerbeam <slongerbeam@gmail.com> - 2017-01-26 02:30 +0100

csiph-web