linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: drm/imx: drop "select OF_VIDEOMODE"
@ 2013-07-14 11:29 Paul Bolle
  2013-07-17  8:23 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2013-07-14 11:29 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Sascha Hauer, Philipp Zabel, Shawn Guo, devel, linux-kernel

Commit ac4c1a9b33 ("staging: drm/imx: Add LDB support") added the
DRM_IMX_LDB Kconfig entry. That entry selects OF_VIDEOMODE. But there is
no Kconfig symbol named OF_VIDEOMODE. The select statement for that
symbol is a nop. Drop it.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
0) Not tested!

1) Perhaps OF_VIDEOMODE was selected because this commit added an
include of <video/of_videomode>. But the functionality of that header
requires the Kconfig symbol VIDEOMODE_HELPERS. The commit didn't use
that Kconfig symbol.

The again, as far as I can tell, the drm/imx code doesn't actually use
the videomode of-helper. So it seems the include of <video/of_videomode>
isn't needed anyway.

 drivers/staging/imx-drm/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/imx-drm/Kconfig b/drivers/staging/imx-drm/Kconfig
index 2233905..bd0f2fd 100644
--- a/drivers/staging/imx-drm/Kconfig
+++ b/drivers/staging/imx-drm/Kconfig
@@ -33,7 +33,6 @@ config DRM_IMX_TVE
 config DRM_IMX_LDB
 	tristate "Support for LVDS displays"
 	depends on DRM_IMX
-	select OF_VIDEOMODE
 	help
 	  Choose this to enable the internal LVDS Display Bridge (LDB)
 	  found on i.MX53 and i.MX6 processors.
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: drm/imx: drop "select OF_VIDEOMODE"
  2013-07-14 11:29 [PATCH] staging: drm/imx: drop "select OF_VIDEOMODE" Paul Bolle
@ 2013-07-17  8:23 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-07-17  8:23 UTC (permalink / raw)
  To: Paul Bolle
  Cc: Greg Kroah-Hartman, Philipp Zabel, Shawn Guo, devel, linux-kernel

On Sun, Jul 14, 2013 at 01:29:48PM +0200, Paul Bolle wrote:
> Commit ac4c1a9b33 ("staging: drm/imx: Add LDB support") added the
> DRM_IMX_LDB Kconfig entry. That entry selects OF_VIDEOMODE. But there is
> no Kconfig symbol named OF_VIDEOMODE. The select statement for that
> symbol is a nop. Drop it.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> 0) Not tested!
> 
> 1) Perhaps OF_VIDEOMODE was selected because this commit added an
> include of <video/of_videomode>. But the functionality of that header
> requires the Kconfig symbol VIDEOMODE_HELPERS. The commit didn't use
> that Kconfig symbol.
> 
> The again, as far as I can tell, the drm/imx code doesn't actually use
> the videomode of-helper. So it seems the include of <video/of_videomode>
> isn't needed anyway.

Looks all good.

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-17  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-14 11:29 [PATCH] staging: drm/imx: drop "select OF_VIDEOMODE" Paul Bolle
2013-07-17  8:23 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).