From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932333AbcEKQEL (ORCPT ); Wed, 11 May 2016 12:04:11 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:57427 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932276AbcEKQEH (ORCPT ); Wed, 11 May 2016 12:04:07 -0400 From: Arnd Bergmann To: airlied@redhat.com Cc: Tomi Valkeinen , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , David Airlie , Laurent Pinchart , Rob Clark , Jyri Sarha , Dave Airlie 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= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.7.0