Commit cf73db84 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Stefan Agner

drm/mxsfb: drop unused function parameter

flags is unused since the driver was introduced in commit 45d59d70
("drm: Add new driver for MXSFB controller").
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200716174139.16602-1-u.kleine-koenig@pengutronix.de
parent f4b29bf7
...@@ -196,7 +196,7 @@ static struct drm_simple_display_pipe_funcs mxsfb_funcs = { ...@@ -196,7 +196,7 @@ static struct drm_simple_display_pipe_funcs mxsfb_funcs = {
.disable_vblank = mxsfb_pipe_disable_vblank, .disable_vblank = mxsfb_pipe_disable_vblank,
}; };
static int mxsfb_load(struct drm_device *drm, unsigned long flags) static int mxsfb_load(struct drm_device *drm)
{ {
struct platform_device *pdev = to_platform_device(drm->dev); struct platform_device *pdev = to_platform_device(drm->dev);
struct mxsfb_drm_private *mxsfb; struct mxsfb_drm_private *mxsfb;
...@@ -403,7 +403,7 @@ static int mxsfb_probe(struct platform_device *pdev) ...@@ -403,7 +403,7 @@ static int mxsfb_probe(struct platform_device *pdev)
if (IS_ERR(drm)) if (IS_ERR(drm))
return PTR_ERR(drm); return PTR_ERR(drm);
ret = mxsfb_load(drm, 0); ret = mxsfb_load(drm);
if (ret) if (ret)
goto err_free; goto err_free;
......
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