Commit 277b2881 authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAP: DSS2: Remove pdev argument from dpi_init

dpi_init() does not use the pdev argument for anything. Remove it.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 42c9dee8
...@@ -191,7 +191,7 @@ static int omap_dss_probe(struct platform_device *pdev) ...@@ -191,7 +191,7 @@ static int omap_dss_probe(struct platform_device *pdev)
goto err_rfbi; goto err_rfbi;
} }
r = dpi_init(pdev); r = dpi_init();
if (r) { if (r) {
DSSERR("Failed to initialize dpi\n"); DSSERR("Failed to initialize dpi\n");
goto err_dpi; goto err_dpi;
......
...@@ -319,7 +319,7 @@ int dpi_init_display(struct omap_dss_device *dssdev) ...@@ -319,7 +319,7 @@ int dpi_init_display(struct omap_dss_device *dssdev)
return 0; return 0;
} }
int dpi_init(struct platform_device *pdev) int dpi_init(void)
{ {
return 0; return 0;
} }
......
...@@ -309,11 +309,11 @@ static inline void dsi_wait_pll_hsdiv_dsi_active(void) ...@@ -309,11 +309,11 @@ static inline void dsi_wait_pll_hsdiv_dsi_active(void)
/* DPI */ /* DPI */
#ifdef CONFIG_OMAP2_DSS_DPI #ifdef CONFIG_OMAP2_DSS_DPI
int dpi_init(struct platform_device *pdev); int dpi_init(void);
void dpi_exit(void); void dpi_exit(void);
int dpi_init_display(struct omap_dss_device *dssdev); int dpi_init_display(struct omap_dss_device *dssdev);
#else #else
static inline int dpi_init(struct platform_device *pdev) static inline int dpi_init(void)
{ {
return 0; return 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