From patchwork Tue Sep 6 07:56:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9315895 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 D3758601C0 for ; Tue, 6 Sep 2016 07:59:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D412F28BE0 for ; Tue, 6 Sep 2016 07:59:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C864D28BE4; Tue, 6 Sep 2016 07:59:11 +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=-3.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham 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 6D16F28BE0 for ; Tue, 6 Sep 2016 07:59:11 +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 1bhBGD-0003k6-TO; Tue, 06 Sep 2016 07:57:37 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhBG6-0003iM-TY for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2016 07:57:34 +0000 Received: by mail-pf0-x233.google.com with SMTP id p64so71993954pfb.1 for ; Tue, 06 Sep 2016 00:57:09 -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=hgsiBKqB1BXFdaXvb3iQbWbE3hQHp0hcnqej4hvXonI=; b=jFSos/oFYBW+KwQXACG3ZhckJWxij3miAdOk/sDt8HIikcxdajWBaJ31a4wVP0ymC2 eDXfsblzny7RMOI767CxhfrdwS45dDpyYZ/bkSP86dmDAnAP8PUlkEDEusuNWPS2S4sN Eh86ROFnX9VFDzRYcioBy7o3I+EypCTeO1E80= 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=hgsiBKqB1BXFdaXvb3iQbWbE3hQHp0hcnqej4hvXonI=; b=lrUPxiMFqjJQQUzMZBmXube3z4rRQGW4SkGtK7EsKmFA6maLmWk0JPLQWN7Dt41V0D QpAbvRw0gf5wafhomQkWuQy8ANvvpK1EGTJUmCvSqqLPKIo8d/U+wZtm02d0MC6uNJkp 3XfC0eKx5+9ZV6icF/Hpptx8AX3Y+W2AWic+3qlS6fUymW+48h83miWWDUZ8y68yP3WJ ku+XVSobTdyw2cYFSDIxR5NdhAOiIvG2wit++wYjBG1sY8tGVa6BVMbctMt2dLWPdP3i WQxYXfL9cjzdKNNIECeMJJY50az/cXtcLf/nvIpCY92+kY08maEgnaXT0pEd/yg2Ko6Q lgaA== X-Gm-Message-State: AE9vXwOYiYgxLjllYUyvA7UQwKRoofCD+cv0sWuiuSciu2e2a1cEasyZdAZmlZlmAt9kwv3z X-Received: by 10.98.184.18 with SMTP id p18mr32425952pfe.76.1473148629324; Tue, 06 Sep 2016 00:57:09 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.17]) by smtp.gmail.com with ESMTPSA id y6sm38685295pav.1.2016.09.06.00.57.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Sep 2016 00:57:08 -0700 (PDT) From: Baoyou Xie To: mathieu.poirier@linaro.org Subject: [PATCH] drivers/hwtracing: add missing header dependencies Date: Tue, 6 Sep 2016 15:56:37 +0800 Message-Id: <1473148597-25478-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-20160906_005731_017206_A52C5978 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: xie.baoyou@zte.com.cn, baoyou.xie@linaro.org, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We get 1 warning when building kernel with W=1: drivers/hwtracing/coresight/coresight-etm-perf.c:345:5: warning: no previous prototype for 'etm_perf_symlink' [-Wmissing-prototypes] In fact, this function is declared in coresight-etm-perf.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/hwtracing/coresight/coresight-etm-perf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwtracing/coresight/coresight-etm-perf.c b/drivers/hwtracing/coresight/coresight-etm-perf.c index 755125f..d936e82 100644 --- a/drivers/hwtracing/coresight/coresight-etm-perf.c +++ b/drivers/hwtracing/coresight/coresight-etm-perf.c @@ -28,6 +28,7 @@ #include #include "coresight-priv.h" +#include "coresight-etm-perf.h" static struct pmu etm_pmu; static bool etm_perf_up;