提交 037f0315 编写于 作者: T Tomi Valkeinen

drm/omap: fix compile error when DPI is disabled

When CONFIG_OMAP2_DSS_DPI is disabled, compilation fails due to:

drivers/gpu/drm/omapdrm/dss/dss.h:388:25: error: conflicting types for ‘port’
     struct device_node *port,
                         ^~~~

Fix this by renaming the first parameter correctly.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 83df2d4e
...@@ -383,7 +383,7 @@ int dpi_init_port(struct dss_device *dss, struct platform_device *pdev, ...@@ -383,7 +383,7 @@ int dpi_init_port(struct dss_device *dss, struct platform_device *pdev,
struct device_node *port, enum dss_model dss_model); struct device_node *port, enum dss_model dss_model);
void dpi_uninit_port(struct device_node *port); void dpi_uninit_port(struct device_node *port);
#else #else
static inline int dpi_init_port(struct dss_device *port, static inline int dpi_init_port(struct dss_device *dss,
struct platform_device *pdev, struct platform_device *pdev,
struct device_node *port, struct device_node *port,
enum dss_model dss_model) enum dss_model dss_model)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册