diff options
| author | 2018-09-13 02:23:26 +0300 | |
|---|---|---|
| committer | 2019-03-18 11:42:12 +0200 | |
| commit | 79d11e96e397e1d70b23ac2174d0aba5d8e73b9e (patch) | |
| tree | 44f912721e6a34c47be621e5170d38c853af54f2 /drivers/gpu/drm/omapdrm/omap_encoder.h | |
| parent | drm/omap: venc: List both PAL and NTSC modes (diff) | |
| download | wireguard-linux-79d11e96e397e1d70b23ac2174d0aba5d8e73b9e.tar.xz wireguard-linux-79d11e96e397e1d70b23ac2174d0aba5d8e73b9e.zip | |
drm/omap: Don't pass display pointer to encoder init function
The display isn't used by the encoder implementation, don't pass it to
the initialization function and store it internally needlessly.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_encoder.h')
| -rw-r--r-- | drivers/gpu/drm/omapdrm/omap_encoder.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_encoder.h b/drivers/gpu/drm/omapdrm/omap_encoder.h index a7b5dde63ecb..4aefb3142886 100644 --- a/drivers/gpu/drm/omapdrm/omap_encoder.h +++ b/drivers/gpu/drm/omapdrm/omap_encoder.h @@ -25,7 +25,6 @@ struct drm_encoder; struct omap_dss_device; struct drm_encoder *omap_encoder_init(struct drm_device *dev, - struct omap_dss_device *output, - struct omap_dss_device *display); + struct omap_dss_device *output); #endif /* __OMAPDRM_ENCODER_H__ */ |
