Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1565829 > unrolled thread
| Started by | Javier Martinez Canillas <javier@dowhile0.org> |
|---|---|
| First post | 2017-01-24 13:50 +0100 |
| Last post | 2017-01-26 02:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Javier Martinez Canillas <javier@dowhile0.org> |
|---|---|
| Date | 2017-01-24 13:50 +0100 |
| Subject | Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver |
| Message-ID | <t38HU-4mc-23@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Steve Longerbeam <slongerbeam@gmail.com> |
|---|---|
| Date | 2017-01-26 02:30 +0100 |
| Message-ID | <t3H2V-Zx-1@gated-at.bofh.it> |
| In reply to | #1565829 |
On 01/24/2017 04:44 AM, Javier Martinez Canillas wrote:
> 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.
Hi Javier, thanks for catching, done.
Steve
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web