From patchwork Tue Dec 13 22:37:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9473295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CBCC460476 for ; Tue, 13 Dec 2016 22:37:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF47A286C3 for ; Tue, 13 Dec 2016 22:37:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2563286C4; Tue, 13 Dec 2016 22:37:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 027B028582 for ; Tue, 13 Dec 2016 22:37:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750850AbcLMWhI (ORCPT ); Tue, 13 Dec 2016 17:37:08 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:41813 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbcLMWhH (ORCPT ); Tue, 13 Dec 2016 17:37:07 -0500 Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 75BE9207F0; Tue, 13 Dec 2016 23:36:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1481668610; bh=+W/azjfOfb4qgqq5wRRwQDWrpYhdwlBXu/dyzpT8E5k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MgOnDD4MNJ3vHe7nUx0RpKfklDFqzEbUSrLEi8T9ApvzyW3eifqPsVdnYYhZcm6OL BJpQxXbE81GXjFu1pSiYhGGqqsIySHsahl8Ry8rDJUeCoDYhxf3/tDGLq4oVba9YNL XeS6h7TyrlLI3NSlQWItLQ+W+zYVDV5B7xrsX9SY= From: Laurent Pinchart To: linux-omap@vger.kernel.org Cc: Tony Lindgren Subject: [PATCH 2/2] ARM: OMAP2+: Make the omapdss_find_dss_of_node() function static Date: Wed, 14 Dec 2016 00:37:33 +0200 Message-Id: <1481668653-8417-2-git-send-email-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1481668653-8417-1-git-send-email-laurent.pinchart@ideasonboard.com> References: <1481668653-8417-1-git-send-email-laurent.pinchart@ideasonboard.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The omapdss_find_dss_of_node() function isn't used outside of its compilation unit, make it static. Signed-off-by: Laurent Pinchart --- arch/arm/mach-omap2/display.c | 2 +- arch/arm/mach-omap2/display.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 8bb3e5543ede..8fa01c0ecdb2 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -317,7 +317,7 @@ static const char * const omapdss_compat_names[] __initconst = { "ti,dra7-dss", }; -struct device_node * __init omapdss_find_dss_of_node(void) +static struct device_node * __init omapdss_find_dss_of_node(void) { struct device_node *node; int i; diff --git a/arch/arm/mach-omap2/display.h b/arch/arm/mach-omap2/display.h index 7375854b16c7..9a39646d4316 100644 --- a/arch/arm/mach-omap2/display.h +++ b/arch/arm/mach-omap2/display.h @@ -31,6 +31,4 @@ int omap_init_vrfb(void); int omap_init_fb(void); int omap_init_vout(void); -struct device_node * __init omapdss_find_dss_of_node(void); - #endif