From patchwork Tue Apr 24 15:39:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 10360353 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 47B4D60225 for ; Tue, 24 Apr 2018 15:46:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37CAD28A67 for ; Tue, 24 Apr 2018 15:46:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C2D428E54; Tue, 24 Apr 2018 15:46:43 +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=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E44F128A67 for ; Tue, 24 Apr 2018 15:46:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6A42B6E414; Tue, 24 Apr 2018 15:46:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by gabe.freedesktop.org (Postfix) with ESMTPS id C83836E414 for ; Tue, 24 Apr 2018 15:46:37 +0000 (UTC) Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 727BC5D18; Tue, 24 Apr 2018 17:39:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1524584394; bh=YjTCDgOYW5iQgjqcUYviNH+otuzaQtsCaoMu7lk8Pp0=; h=From:To:Cc:Subject:Date:From; b=S4xWB4uMQf/ZbUmvVeK+hlUoHDdx6HrRuygVzi/3N6A4yZUO8diqTm4/WIRV0eG4x 2Din/ZWCrnFiqQ6T6QQSRPkyaY6GLV4pJRrNZ62bUEo3IUXQStHsZIluUHiQCml1sF vZ+q+NZqgpmMO3lA/PKqcLgEkQDtLmsZCbBbJfC8= From: Kieran Bingham To: Laurent Pinchart , linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH] drm: rcar-du: of: Include header to define prototypes Date: Tue, 24 Apr 2018 16:39:42 +0100 Message-Id: <20180424153942.2526-1-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.17.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kieran Bingham MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The symbol 'rcar_du_of_init' is defined by the rcar_du_of module header, but it is not included by the C implementation. Include the header to correctly define the function prototypes. Fixes the following warning: linux/drivers/gpu/drm/rcar-du/rcar_du_of.c:319:13: warning: symbol 'rcar_du_of_init' was not declared. Should it be static? CC drivers/gpu/drm/rcar-du/rcar_du_of.o Fixes: 81c0e3dd8292 ("drm: rcar-du: Fix legacy DT to create LVDS encoder nodes") Signed-off-by: Kieran Bingham Reviewed-by: Vaishali Thakkar Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_of.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_of.c b/drivers/gpu/drm/rcar-du/rcar_du_of.c index 68a0b82cb17e..afef69669bb4 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_of.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_of.c @@ -18,6 +18,7 @@ #include "rcar_du_crtc.h" #include "rcar_du_drv.h" +#include "rcar_du_of.h" /* ----------------------------------------------------------------------------- * Generic Overlay Handling