From patchwork Wed May 11 16:01:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102355 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp302210qge; Wed, 11 May 2016 09:03:42 -0700 (PDT) X-Received: by 10.66.166.78 with SMTP id ze14mr6041775pab.149.1462982622779; Wed, 11 May 2016 09:03:42 -0700 (PDT) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTP id ur6si10635976pac.226.2016.05.11.09.03.42; Wed, 11 May 2016 09:03:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DC18A6E285; Wed, 11 May 2016 16:03:41 +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 B27F06E285 for ; Wed, 11 May 2016 16:03:39 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MfqGy-1bEjXK1TKG-00N89m; Wed, 11 May 2016 18:03:30 +0200 From: Arnd Bergmann To: airlied@redhat.com Subject: [PATCH 2/3] drm/omap: include linux/of.h where needed Date: Wed, 11 May 2016 18:01:46 +0200 Message-Id: <1462982509-342936-3-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1462982509-342936-1-git-send-email-arnd@arndb.de> References: <1462982509-342936-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:/YhivxGwmZmY5hCdiSZ1n3lj5YiHBjCdHLpPRxl+6ZQRy7JDCKT LblgIXmK7npxKjgqDwkiB2YudB1Ol3rhSuz6UPe2IboMU6x0XnadVLAYSAZhFaTFSJEMu0n CwQKqQq2NARO/n8GbZYp4voaVwid9oc8u2xy0Q6j2fyl/p7NMplG/bLxHDJoO8rBfrHmqLG HuAw4ZCXefHvHQBR62Mzw== X-UI-Out-Filterresults: notjunk:1; V01:K0:LJ9AjszvG4g=:WmCBwb7+nOpOBLGyHvYSjs V6wM569CBhrAavZVQWgRA+L9lT6WKWDoG9BB8BdCm39LK4gJD1jkv8kaaPUku/f9FRiSLsmVE +5RjgS0+PSdf8mGSWIICJPJ22+402cnHnee9cqb08ZYbGSoB27G4T6ilTXk6oM0ER0a/zbUl5 64mwoiK9Td82Vr2XPBSDvWQMfY1f2jZYOarJULAXZQJ5i7gPP5zjGtjHI3C+inhISlzsewFRe hVI7SX16r0FnhYuZOqWJzyYqYEA2Y12e2sbRqNkwKx0I6mas8xl6SZOc41n46nwfnB3cqEjLU PuK4YaTtmfE9nlm5t7OX4gzdcYieDhtMrmjxDcho52ixwG5Jk2IWI4jVyGEx/bJz84kBHOuX4 YWwJYW/9ofja4ypRq1+BAnBiJbYcB5nGMPq/2FzAAKiQ4mY/KQATxn4jXBAl6WvQQATmbLloI IOMku1tRTZGKON0zOyROqKGnzlblDy8W2IVbxTHGo3BcYDifRl3t9lt79K9q7bkh0eT4ClDCj 44nwDHuN7voTk+7Jm4V/qsVucFWodidXqjuEmWoWzKPHot2yDz9KiNiJnjER3kEg3ROJmruBf 02HSV4DfIDcIxqTRGS7xVLy7+mskI1wsagtZLT08mTn7zEjkMtUg5MLu+70Edbl65Vo+1QvTY 96nJ1Ef8s6yafHDTC+cYmsgbZMg97HvgxXV7ORQP3vw8FO3zLpP1q6LAMCmjyRjVJOig= Cc: Arnd Bergmann , Jyri Sarha , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Tomi Valkeinen , Laurent Pinchart , linux-arm-kernel@lists.infradead.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" Some parts of the OMAP drm driver rely on implicit inclusion of linux/of.h but fail in some configurations: drivers/gpu/drm/omapdrm/dss/hdmi4.c: In function 'hdmi_probe_of': drivers/gpu/drm/omapdrm/dss/hdmi4.c:564:2: error: implicit declaration of function 'of_node_put' [-Werror=implicit-function-declaration] drivers/gpu/drm/omapdrm/dss/hdmi5.c: In function 'hdmi_probe_of': drivers/gpu/drm/omapdrm/dss/hdmi5.c:590:2: error: implicit declaration of function 'of_node_put' [-Werror=implicit-function-declaration] This adds an explicit #include statement to those files. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 1 + drivers/gpu/drm/omapdrm/dss/hdmi5.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi4.c b/drivers/gpu/drm/omapdrm/dss/hdmi4.c index f892ae157ff3..079bcfcbc8ef 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi4.c +++ b/drivers/gpu/drm/omapdrm/dss/hdmi4.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5.c b/drivers/gpu/drm/omapdrm/dss/hdmi5.c index a43f7b10e113..68ac2491d4b1 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi5.c +++ b/drivers/gpu/drm/omapdrm/dss/hdmi5.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include