Commit 27e1d068 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Tomi Valkeinen

drm/omap: drop DSS ops_flags

The omapdss device's ops_flags field is no longer
used and can be dropped.
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-46-tomi.valkeinen@ti.com
parent 811860dd
...@@ -282,14 +282,6 @@ struct omap_dss_device_ops { ...@@ -282,14 +282,6 @@ struct omap_dss_device_ops {
const struct omapdss_dsi_ops dsi; 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 omap_dss_device {
struct device *dev; struct device *dev;
...@@ -318,7 +310,6 @@ struct omap_dss_device { ...@@ -318,7 +310,6 @@ struct omap_dss_device {
const char *name; const char *name;
const struct omap_dss_device_ops *ops; const struct omap_dss_device_ops *ops;
unsigned long ops_flags;
u32 bus_flags; u32 bus_flags;
/* OMAP DSS output specific fields */ /* OMAP DSS output specific fields */
......
...@@ -735,7 +735,6 @@ static int venc_init_output(struct venc_device *venc) ...@@ -735,7 +735,6 @@ static int venc_init_output(struct venc_device *venc)
out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT; out->dispc_channel = OMAP_DSS_CHANNEL_DIGIT;
out->owner = THIS_MODULE; out->owner = THIS_MODULE;
out->of_port = 0; out->of_port = 0;
out->ops_flags = OMAP_DSS_DEVICE_OP_MODES;
r = omapdss_device_init_output(out, &venc->bridge); r = omapdss_device_init_output(out, &venc->bridge);
if (r < 0) { if (r < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment