public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] drm: msm: add missing dependencies on OF and COMMON_CLK
Date: Wed, 28 Jan 2015 14:48:09 +0100	[thread overview]
Message-ID: <1422452889-415782-6-git-send-email-arnd@arndb.de> (raw)
In-Reply-To: <1422452889-415782-1-git-send-email-arnd@arndb.de>

The msm gpu drivers depend on both the DT mechanism and the
common clk handling code, if they are not enabled, we get
a number of build errors:

In file included from drivers/gpu/drm/msm/hdmi/hdmi.h:27:0,
                 from drivers/gpu/drm/msm/hdmi/hdmi_bridge.c:18:
drivers/gpu/drm/msm/msm_drv.h:45:24: fatal error: mach/board.h: No such file or directory
 #include <mach/board.h>
                        ^

drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c:503:2: error: implicit declaration of function 'devm_clk_register' [-Werror=implicit-function-declaration]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index 5b2a1ff95d3d..bacbbb70f679 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -3,6 +3,7 @@ config DRM_MSM
 	tristate "MSM DRM"
 	depends on DRM
 	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
+	depends on OF && COMMON_CLK
 	select REGULATOR
 	select DRM_KMS_HELPER
 	select DRM_PANEL

  parent reply	other threads:[~2015-01-28 13:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 13:48 [PATCH 0/5] drm: add missing dependencies Arnd Bergmann
2015-01-28 13:48 ` [PATCH 1/5] drm: panel/sharp: add backlight dependency Arnd Bergmann
2015-01-28 13:48 ` [PATCH 2/5] drm: panel/simple: " Arnd Bergmann
2015-01-28 13:48 ` [PATCH 3/5] drm: rockchip: add reset controller dependency Arnd Bergmann
2015-01-28 13:48 ` [PATCH 4/5] drm: sti: add panel dependency Arnd Bergmann
2015-01-28 13:48 ` Arnd Bergmann [this message]
2015-01-28 14:18   ` [PATCH] drm: msm: add missing dependencies on OF and COMMON_CLK Arnd Bergmann
2015-01-31  0:13 ` [PATCH 0/5] drm: add missing dependencies Dave Airlie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422452889-415782-6-git-send-email-arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox