drm/panel: newvision-nv3052c: Fix build
Subsystems (3)
PATCH 1/1 drm/panel: newvision-nv3052c: Fix build
The driver was compile-tested then rebased on drm-misc-next, and not compile-tested after the rebase; unfortunately the driver didn't compile anymore when it hit drm-misc-next.
Fixes 49956b505c53 ("drm/panel: Add panel driver for NewVision NV3052C based LCDs")
Cc Christophe Branchereau <[email protected]>
Cc kbuild-all <[email protected]>
Cc Stephen Rothwell <[email protected]>
Reported-by kernel test robot <[email protected]>
Signed-off-by Paul Cercueil <[email protected]>
--- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/panel/panel-newvision-nv3052c.c +1 -3
@@ -416,15 +416,13 @@ static int nv3052c_probe(struct spi_device *spi)return 0 ; } -static int nv3052c_remove (struct spi_device *spi) +static void nv3052c_remove (struct spi_device *spi) {struct nv3052c *priv =spi_get_drvdata (spi);drm_panel_remove (&priv->panel);drm_panel_disable (&priv->panel);drm_panel_unprepare (&priv->panel); - -return 0 ; }static const struct drm_display_mode ltk035c5444t_modes[] = {
Signature · 1 line
2.35.1
Quoted 10 lines · Paul Cercueil
The driver was compile-tested then rebased on drm-misc-next, and not compile-tested after the rebase; unfortunately the driver didn't compile anymore when it hit drm-misc-next.
Fixes 49956b505c53 ("drm/panel: Add panel driver for NewVision NV3052C based LCDs")Cc Christophe Branchereau <[email protected]>Cc kbuild-all <[email protected]>Cc Stephen Rothwell <[email protected]>Reported-by kernel test robot <[email protected]>Signed-off-by Paul Cercueil <[email protected]>
Acked-by Sam Ravnborg <[email protected]>
Quoted 27 lines
--- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)drivers/gpu/drm/panel/panel-newvision-nv3052c.c +1
-3@@ -416,15 +416,13 @@ static int nv3052c_probe(struct spi_device *spi)return 0 ; } -static int nv3052c_remove (struct spi_device *spi) +static void nv3052c_remove (struct spi_device *spi) {struct nv3052c *priv =spi_get_drvdata (spi);drm_panel_remove (&priv->panel);drm_panel_disable (&priv->panel);drm_panel_unprepare (&priv->panel); - -return 0 ; }static const struct drm_display_mode ltk035c5444t_modes[] = {Signature · 1 line
2.35.1
Dave Airlie
maintainerQuoted 6 lines · Sam Ravnborg
Quoted 4 lines · Paul Cercueil
The driver was compile-tested then rebased on drm-misc-next, and not compile-tested after the rebase; unfortunately the driver didn't compile anymore when it hit drm-misc-next.
Quoted 8 lines
Quoted 6 lines
Fixes 49956b505c53 ("drm/panel: Add panel driver for NewVision NV3052C based LCDs")Cc Christophe Branchereau <[email protected]>Cc kbuild-all <[email protected]>Cc Stephen Rothwell <[email protected]>Reported-by kernel test robot <[email protected]>Signed-off-by Paul Cercueil <[email protected]>Acked-by Sam Ravnborg <[email protected]>Quoted 1 line
---
Backmerge drm-next. I fixed this up when I merged this driver in the merge commit.
Dave.