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: 9072351 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4E5E99F1C3 for ; Wed, 11 May 2016 16:03:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78C3D20155 for ; Wed, 11 May 2016 16:03:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 73DFE200D0 for ; Wed, 11 May 2016 16:03:42 +0000 (UTC) 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" X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham 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 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