mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
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: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
83df2d4ed5
commit
037f03155b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
void dpi_uninit_port(struct device_node *port);
|
||||
#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 device_node *port,
|
||||
enum dss_model dss_model)
|
||||
|
|
Loading…
Reference in a new issue