Hi, On Fri, Oct 13, 2017 at 05:59:27PM +0300, Laurent Pinchart wrote: > The omap_hdmi private data structure is currently stored as a global > variable. While no platform with multiple HDMI4 encoders currently > exists nor is planned, this doesn't comply with the kernel device model > and should thus be fixed. > > Signed-off-by: Laurent Pinchart <[email protected]> > ---
[...]
> -static void hdmi_init_output(struct platform_device *pdev)
> +static void hdmi_init_output(struct omap_hdmi *hdmi)
> {
> - struct omap_dss_device *out = &hdmi.output;
> + struct omap_dss_device *out = &hdmi->output;
>
> - out->dev = &pdev->dev;
> + out->dev = &hdmi->pdev->dev;
> out->id = OMAP_DSS_OUTPUT_HDMI;
> out->output_type = OMAP_DISPLAY_TYPE_HDMI;
> - out->name = "hdmi.0";
> + out->name = "hdmi->0";
I guess this was an unintended side-effect of "s/hdmi./hdmi->/g"?
-- Sebastian
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
