From patchwork Sun Sep 25 07:38:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9349547 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 5C5EB607F0 for ; Sun, 25 Sep 2016 07:39:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5035628D03 for ; Sun, 25 Sep 2016 07:39:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 447D428E9F; Sun, 25 Sep 2016 07:39:12 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 12DA428D03 for ; Sun, 25 Sep 2016 07:39:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bo41l-0000ce-Ez; Sun, 25 Sep 2016 07:39:09 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bo41g-0000Y2-MP for linux-rockchip@lists.infradead.org; Sun, 25 Sep 2016 07:39:05 +0000 Received: by mail-pf0-x232.google.com with SMTP id l25so7077411pfb.1 for ; Sun, 25 Sep 2016 00:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=KuZRc8ruXOipbrn/hyrmwnB10U3jav+Go3m/AgPMwy8=; b=GY7ScXD3StLCu4yD27AjK0JBWwqMRC4y23Xtcy0C28St8BYueS0wiSGMAWV81rcgDF 9kIu/HZqMDkw2S+K0pZIJ/eBdw1M3puluJP9nxEB1x/46gJPdKlq/K5M+z6XhpR6tekh OlRwBarzAWWiDaZoU4bg4OhkDID12gF33fcGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KuZRc8ruXOipbrn/hyrmwnB10U3jav+Go3m/AgPMwy8=; b=e/fBCZxYjcyNDXU6PMqzLfA5EwL/sfFuOpGsklhr6rm2kT6WFLeP8JVFXKoucW9AKn fd+4meUy1wNnmzhsNhoncxGzAGOjQV2HvQS78kHmQx2+9M/vsmaaKDj3fAETT5kV/Tpe bLNv1gx6yyQPhaRmwLw0aYcGrT3VH3rvBkbGDfI0IHY9nR9ycc/iyJkC/+AjTvtEtcBp sbnel0It5Hy0EdMBenX83oeojlVkzyRG4yqUUt9l4ZMHNdkELVN4W4Usq0OT0bDIK0Wu fkVRVC4SwCCTmYPwMnDGu0+AOCd0l+nF+cGodRXABDSEiC1f+DOsoatxFqj+DaDu/Ed3 bpGg== X-Gm-Message-State: AA6/9Rlih0ow6ATMOZHc8p7bFrq1TYHoPSAE56Z0F93DWAcSwuzT3grK1eFeoM7PiGObMDrm X-Received: by 10.98.51.197 with SMTP id z188mr16988908pfz.22.1474789123631; Sun, 25 Sep 2016 00:38:43 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.164]) by smtp.gmail.com with ESMTPSA id c145sm22373978pfb.15.2016.09.25.00.38.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Sep 2016 00:38:43 -0700 (PDT) From: Baoyou Xie To: ck.hu@mediatek.com, p.zabel@pengutronix.de, airlied@linux.ie, matthias.bgg@gmail.com, mark.yao@rock-chips.com, heiko@sntech.de Subject: [PATCH 1/2] drm/rockchip: add missing header dependencies Date: Sun, 25 Sep 2016 15:38:28 +0800 Message-Id: <1474789109-22010-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160925_003904_812384_92D895A1 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arnd@arndb.de, tang.qiang007@zte.com.cn, xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-mediatek@lists.infradead.org, han.fei@zte.com.cn, baoyou.xie@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We get 2 warnings when building kernel with W=1: drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c:130:5: warning: no previous prototype for 'rockchip_drm_fbdev_init' [-Wmissing-prototypes] drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c:173:6: warning: no previous prototype for 'rockchip_drm_fbdev_fini' [-Wmissing-prototypes] In fact, these functions are declared in drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c index 207e01d..a16c69f 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c @@ -20,6 +20,7 @@ #include "rockchip_drm_drv.h" #include "rockchip_drm_gem.h" #include "rockchip_drm_fb.h" +#include "rockchip_drm_fbdev.h" #define PREFERRED_BPP 32 #define to_drm_private(x) \