diff mbox

[PATCH/RFC,1/7] drm: omapdrm: Add OMAP revision to omapdss platform data

Message ID 1481672306-22564-2-git-send-email-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laurent Pinchart Dec. 13, 2016, 11:38 p.m. UTC
The revision is passed from platform code to the omapdrm driver through
the omapdrm platform device's platform data. This is the last reason to
create a virtual omapdrm platform device that we have otherwise no need
for. By passing the revision through the omapdss platform data we will
be able to remote the omapdrm device.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 include/linux/platform_data/omapdss.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/include/linux/platform_data/omapdss.h b/include/linux/platform_data/omapdss.h
index 679177929045..e71bb1d1b7ba 100644
--- a/include/linux/platform_data/omapdss.h
+++ b/include/linux/platform_data/omapdss.h
@@ -32,6 +32,7 @@  struct omap_dss_board_info {
 	void (*dsi_disable_pads)(int dsi_id, unsigned int lane_mask);
 	int (*set_min_bus_tput)(struct device *dev, unsigned long r);
 	enum omapdss_version version;
+	u32 omaprev;
 };
 
 #endif /* __OMAPDSS_PDATA_H */