diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-12-15 12:46:18 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-15 16:08:26 +0200 |
commit | 27e1d068df13016d3430114164b7f84d480b0cb0 (patch) | |
tree | ed3a84184c29468aa30e81cae7f6814fe365e723 /drivers/gpu/drm/omapdrm | |
parent | 811860ddceac1c8ea0e7d0b6502f6bcfec92e101 (diff) | |
download | linux-27e1d068df13016d3430114164b7f84d480b0cb0.tar.bz2 |
drm/omap: drop DSS ops_flags
The omapdss device's ops_flags field is no longer
used and can be dropped.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-46-tomi.valkeinen@ti.com
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/omapdss.h | 9 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/venc.c | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index 19add5799274..17cdfbbc7a16 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h @@ -282,14 +282,6 @@ struct omap_dss_device_ops { const struct omapdss_dsi_ops dsi; }; -/** - * enum omap_dss_device_ops_flag - Indicates which device ops are supported - * @OMAP_DSS_DEVICE_OP_MODES: The device supports reading modes - */ -enum omap_dss_device_ops_flag { - OMAP_DSS_DEVICE_OP_MODES = BIT(3), -}; - struct omap_dss_device { struct device *dev; @@ -318,7 +310,6 @@ struct omap_dss_device { const char *name; const struct omap_dss_device_ops *ops; - unsigned long ops_flags; u32 bus_flags; /* OMAP DSS output specific fields */ diff --git a/drivers/gpu/drm/omapdrm/dss/venc.c b/drivers/gpu/drm/omapdrm/dss/venc.c index 94cf50d837b0..d92df480180e 100644 --- a/drivers/gpu/drm/omapdrm/dss/venc.c +++ b/drivers/gpu/drm/omapdrm/dss/venc.c @@ -735,7 +735,6 @@ static int venc_init_output(struct venc_device *venc) out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT; out->owner = THIS_MODULE; out->of_port = 0; - out->ops_flags = OMAP_DSS_DEVICE_OP_MODES; r = omapdss_device_init_output(out, &venc->bridge); if (r < 0) { |