From patchwork Fri Jul 21 16:13:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 792207 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xDbRk3ZC1z9s7g for ; Sat, 22 Jul 2017 02:13:54 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752091AbdGUQNx (ORCPT ); Fri, 21 Jul 2017 12:13:53 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:52512 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752048AbdGUQNw (ORCPT ); Fri, 21 Jul 2017 12:13:52 -0400 Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0LmL6w-1e7NPR0QL4-00Zvq7; Fri, 21 Jul 2017 18:13:35 +0200 From: Arnd Bergmann To: Thierry Reding , David Airlie , Jonathan Hunter Cc: Arnd Bergmann , Stephen Boyd , robdclark@gmail.com, Philipp Zabel , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: tegra: add CONFIG_OF dependency Date: Fri, 21 Jul 2017 18:13:23 +0200 Message-Id: <20170721161333.3332968-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:FXMDlvOrMjlZxD/3rrMyjVTZkSqQZmxncCuEB6XIhwiZdh7eaUj dsqjH1uDVcs2y0hLUvZq933C4iFJmd2uouutkecD0wR/0eoT6on95KniUlelNyGLB7bIj3v +25FH6/VhUj7D4GH0szuFz9EQt2F2ckle7qA1C14Rfkg2KI/b/i8Z8xwVaJ7D4hhdk8i+Ot DZnLaRuDMBVAsoOHATDKg== X-UI-Out-Filterresults: notjunk:1; V01:K0:YcNSUeKRjos=:pUr7qhdD8A67txRU3/jyP/ Ky+iPZ9BCohdlgmFZPGXr35Ke/nS1tsoOana2vcOe/s3vOS5jomVE730UmNNBLZ1ZbApVIYai OedUxKPJ7WQFg8srqrqhTQ/GcYezILO1uiJ2HSCXU1Jy3+bU3nhedPl8r6IMxja5D6HV0Pc45 VoxD9XadVV9uLjd1DgCYRnOS4gxLNHDtjUr5T9sWJnGkbtfwiqHzvZH0Qld3c4iIez7wrKBgN GbXp1Cm7uKGx+WSvqHDiQOa64cLCteGKtu7HR/9mWNVicKUg5oL2ViALhTGwsmQ1x9vvr0a13 Z6xlK6p7qLEeL09MSCO+YKWDp4PZZ8BgqDd1uRHQAaFs1WI9GaftwLAEpdMeBFd5yqd3c9xSg h31+EIUymUr4MMB5MKJJs64U7y4AE8QlVWRd0V7ShVr1M8jagvnYBSg8+1TkZt3ZMUeMjNbnT +62tzomoxflOql9xImX7QzP9rZ5YBtGac6AS7/5Cw9uEuNNfujtsJMUZN0qh25mBXib+Gkzuz cvCbxxtIyTfVqb+ay8W0Ao4Mpximtrl1yjDU9IYtjIYF+MR/N7gOOHUb320cQiJGVJW72X4bn izxgVLgE22mnypq/cxDSingesL60oBC04efWPU2TbeOQ8XFDZb6Afl4orTwVSgWxpfHnw58Zh OhJnAerfm/LsLXteY3A11zrLUP674T2HgPEdGBsiFkbnZDVYcXpp+BsojH3d5UQ7s8Jboktj2 BMnwJjGp/aIzyrpSx+EsXKrqg2MATEZ1+FDLkw== Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Without CONFIG_OF, we can run into a build error: drivers/gpu/drm/tegra/dpaux.c:378:20: error: 'pinconf_generic_dt_node_to_map_group' undeclared here (not in a function); did you mean 'pinconf_generic_params'? .dt_node_to_map = pinconf_generic_dt_node_to_map_group, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinconf_generic_params drivers/gpu/drm/tegra/dpaux.c:379:17: error: 'pinconf_generic_dt_free_map' undeclared here (not in a function); did you mean 'pinconf_generic_params'? This adds an explicit dependency. Signed-off-by: Arnd Bergmann Acked-by: Jon Hunter --- drivers/gpu/drm/tegra/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/tegra/Kconfig b/drivers/gpu/drm/tegra/Kconfig index 2db29d67193d..dc58ab140151 100644 --- a/drivers/gpu/drm/tegra/Kconfig +++ b/drivers/gpu/drm/tegra/Kconfig @@ -3,6 +3,7 @@ config DRM_TEGRA depends on ARCH_TEGRA || (ARM && COMPILE_TEST) depends on COMMON_CLK depends on DRM + depends on OF select DRM_KMS_HELPER select DRM_MIPI_DSI select DRM_PANEL