From patchwork Sat Sep 24 05:03:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 76913 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp191961qgf; Fri, 23 Sep 2016 22:03:26 -0700 (PDT) X-Received: by 10.66.84.163 with SMTP id a3mr18697443paz.101.1474693406698; Fri, 23 Sep 2016 22:03:26 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g85si10212523pfd.72.2016.09.23.22.03.26; Fri, 23 Sep 2016 22:03:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758169AbcIXFDY (ORCPT + 27 others); Sat, 24 Sep 2016 01:03:24 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:33297 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753288AbcIXFDW (ORCPT ); Sat, 24 Sep 2016 01:03:22 -0400 Received: by mail-pf0-f182.google.com with SMTP id 21so48199011pfy.0 for ; Fri, 23 Sep 2016 22:03:22 -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=6zh1rGS9DGYQ5E5vbMsBUQQ1OJTWD/wuC0JmE3u+qq0=; b=KaKYa+qJwFreXzafuUoYX9KeoPP4cAG1gjXYA88JRej20ifrvJai26Nb+5r+b1IrRW pxuwH6AKF24jxZv74GZ0eU7Ot6iZ713EwIcuTYy6+hXTEz1s5qnzh6uRTx9+2/d/cQcY NJILGdh3+Xmu05NIy+zgh93s57u02Ar8I7LLc= 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=6zh1rGS9DGYQ5E5vbMsBUQQ1OJTWD/wuC0JmE3u+qq0=; b=hrOnwMj8g3r5CEMecrmT6iN3tO0BtadVEBKw5+H+Jf31K8P0QmCJ0arn/K2E93tI/3 Nk/trBo8BLSrG1o013lFSXChH0lt6pyjd74iDgT4e2ySV3Q0lRsK/NdW4ZclSPSUzDUX KwETmRpW8GjxbFfKG6Cody0Cs/mYHTo3+I5bYjhuqm2qeYwJ32F3Fa1y9uoBN7ZlIpWJ qjAH/c7U/yNfUf94QADxWIFDyVToPsvP2ln5aAOpoYHN3/JK3Tda47aQu2+/+zDkiUHR T9cARUxMdK01NyBi+x2k5OzKTv0bhlEEpB++ErQr1v7HFsVJ0sj8YJp89gwIkERPTnWx 5NhQ== X-Gm-Message-State: AE9vXwNh1KuOXjG1BftetY4ckbfgeklx5KOg4mENXum4qZAUiYmAazMu0CyPVQJlBxKHGo1/ X-Received: by 10.98.193.193 with SMTP id i184mr18623359pfg.69.1474693399639; Fri, 23 Sep 2016 22:03:19 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.27]) by smtp.gmail.com with ESMTPSA id i4sm14963804pav.27.2016.09.23.22.03.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Sep 2016 22:03:19 -0700 (PDT) From: Baoyou Xie To: zajec5@gmail.com Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] firmware/broadcom: add missing header dependencies Date: Sat, 24 Sep 2016 13:03:09 +0800 Message-Id: <1474693389-16315-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get 1 warning when building kernel with W=1: drivers/firmware/broadcom/bcm47xx_sprom.c:717:5: warning: no previous prototype for 'bcm47xx_sprom_register_fallbacks' [-Wmissing-prototypes] In fact, this function is declared in include/linux/bcm47xx_sprom.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/firmware/broadcom/bcm47xx_sprom.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/drivers/firmware/broadcom/bcm47xx_sprom.c b/drivers/firmware/broadcom/bcm47xx_sprom.c index 62aa3cf..3471b86 100644 --- a/drivers/firmware/broadcom/bcm47xx_sprom.c +++ b/drivers/firmware/broadcom/bcm47xx_sprom.c @@ -27,6 +27,7 @@ */ #include +#include #include #include #include