dpi_init() does not use the pdev argument for anything. Remove it.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
goto err_rfbi;
}
- r = dpi_init(pdev);
+ r = dpi_init();
if (r) {
DSSERR("Failed to initialize dpi\n");
goto err_dpi;
return 0;
}
-int dpi_init(struct platform_device *pdev)
+int dpi_init(void)
{
return 0;
}
/* DPI */
#ifdef CONFIG_OMAP2_DSS_DPI
-int dpi_init(struct platform_device *pdev);
+int dpi_init(void);
void dpi_exit(void);
int dpi_init_display(struct omap_dss_device *dssdev);
#else
-static inline int dpi_init(struct platform_device *pdev)
+static inline int dpi_init(void)
{
return 0;
}