From patchwork Mon May 9 21:51:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9050321 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 51262BF29F for ; Mon, 9 May 2016 21:52:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D0BC2012B for ; Mon, 9 May 2016 21:52:27 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id AD16320114 for ; Mon, 9 May 2016 21:52:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 25D1B6E220; Mon, 9 May 2016 21:52:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3DD396E220 for ; Mon, 9 May 2016 21:52:21 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MS1yk-1bBXy11vli-00THf3; Mon, 09 May 2016 23:52:15 +0200 From: Arnd Bergmann To: David Airlie , Tomi Valkeinen , Laurent Pinchart Subject: [PATCH 1/2] drm/omapdrm: include pinctrl/consumer.h where needed Date: Mon, 9 May 2016 23:51:27 +0200 Message-Id: <1462830733-1710590-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:mi3sO5ikJxSyGT6tERL5e3DLWD3QMj2U/I/AnvDHUNtk1bM9pNc 61/pYUJk8zy0G5mepFyWgNVYSQfcp+69HSRMqOaJu6T8KM5QjylqGcniZjY1dRWVepDcBAb gkzFuEYTafdtl031oy/JYBUBgvJbnUsMie1Wln+Cu5asumwwWdLs7oL9XpRcGSGGhw6DcPt a+BYFw0w0IQVEygz1bOHQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:BcU8BtO4/Dk=:dVgNLc/+aOK162b24I6LQT BAXOorCDRGOhOqesgpVA/+v/KDwi+vzBCK71ZzhVz10LKLdce5pPHsY01FSy0S0M/kl+YPZvW i7EVmGtI3BqnkEUfniFmk6RL1bkiYeJO2BLy4/DYMkvnQDOh2rpbAC4bmtKqzxQskuXpKoN6O KJayHP1COlHXboJ4OaIYj1QfayHXDHbb6mclJBwJa9SSbkzsQaRHGxKOz3fFJef7Bo1hvPQ72 IxHOEok/m/xnoCUuCm/tcOQVdhAAqD9s3p3NOvY1KMgaFzoLEPGocw9b8+LZfB7RLn9BOIx8e QuZN41Mh2oVMZo99RfCLdjF7N7pP9P8mI/NpbI2kcmahIMvLjQpEKiCQKiySmDkufaFtY9Pro 5j1A9AlIaOs9ZjjwLC8os7ncuRP2mD09o1N5Ap5w02K5uk6RwugTue25xtYIOwNalXQXoiZH0 k06wqmcj8v5yG15gUZuYNLyVE3lurWba7maln6lvaZe+2cVfDEKsfEVB4WxTCLgli5wJh09Rv 9sGQlQz/g5ChaNpMWbGesi3/T4QGY9qqh+rue5iJXkw3eY7Qs8niD9Ism/Q+s/K4XFUossvS8 aTmncA35sp62tsOOF6FMfE3ovUIpybqzje2V0MlsyAMQFx1GcaNDVhMk0phP6BmCB65zP1OcE 15y6EmaO4gGXgaL9ES4e75QHw72XqXLXuFwkzNIrnVZzb5tmdxyY1H2oLMSd9v8Ev5OM= Cc: Arnd Bergmann , Dave Gerlach , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In some configurations, we can build the OMAP dss driver without implictly including the pinctrl consumer definitions, causing a build error: gpu/drm/omapdrm/dss/dss.c: In function 'dss_runtime_suspend': gpu/drm/omapdrm/dss/dss.c:1268:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration] This adds an explicit #include. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/omapdrm/dss/dss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index f95ff319e68e..3303cfad4838 100644 --- a/drivers/gpu/drm/omapdrm/dss/dss.c +++ b/drivers/gpu/drm/omapdrm/dss/dss.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include