From patchwork Sat Sep 24 05:18:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 76916 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp196578qgf; Fri, 23 Sep 2016 22:18:39 -0700 (PDT) X-Received: by 10.66.123.79 with SMTP id ly15mr18833988pab.157.1474694319607; Fri, 23 Sep 2016 22:18:39 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f186si11580652pfg.101.2016.09.23.22.18.39; Fri, 23 Sep 2016 22:18:39 -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 S1760492AbcIXFSh (ORCPT + 27 others); Sat, 24 Sep 2016 01:18:37 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:33300 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759001AbcIXFSe (ORCPT ); Sat, 24 Sep 2016 01:18:34 -0400 Received: by mail-pa0-f47.google.com with SMTP id hm5so46254028pac.0 for ; Fri, 23 Sep 2016 22:18:25 -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=qLI7TMm9T4PQQosKay0yJSERWxtIMbN5MJCYqksBbJ4=; b=XuAEiGcsWUYNqxLFJCjwnPf3+JhhYBBuvNkGprzss2FUG6xXILvmRVD7Yiv1BJOEw+ UMYEWID7E2ikkvQ8iypoCNSgblWNfj3+u3AQ/N31a9xpc8BCSTrcPz2DxNQZXYHSaol/ 8OFN1l9T74m6Hzx3m6W/CER7DnoztcoO/dVXI= 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=qLI7TMm9T4PQQosKay0yJSERWxtIMbN5MJCYqksBbJ4=; b=gqmte9Act04JhkdTDj8O6ixLpejkccg4O7EplaAHlkr5t3NQ3KZWo3WCOmIPUwnLH6 RTclY4xwTcvhQGHsyTKSXguPnKIQ1SDtdQe3ecTQYal+qOPtMcVs39gtNXsqNq9xGC2P 5CvgeN+Ne7+jiCahRc/zPSWFncs84juioVmwZZyIQ3+osib1C7w1rVEPRWhFUrfIpCww RdmvUNd04MtJ9As5TKygkaWNRMvDnl+5jzIzCv+2xjWZgsEE9HjSgcNeu1vReLNb1roY FIQLCDUY7s1vtEN3B6JJhnjPcNolJDMlbAxgqVsK6n9fivvvglwsOMoszs9M2HMIPfuK iZqg== X-Gm-Message-State: AE9vXwPL1BvVCW0kTRnzRSGlsFY7f7CzO05UzDjZ3LPYtmy4RrOfmEg4QSk5WwddSt+zTquQ X-Received: by 10.66.131.4 with SMTP id oi4mr18957775pab.66.1474694305040; Fri, 23 Sep 2016 22:18:25 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.27]) by smtp.gmail.com with ESMTPSA id 138sm15061300pfx.41.2016.09.23.22.18.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Sep 2016 22:18:24 -0700 (PDT) From: Baoyou Xie To: mac@melware.de, isdn@linux-pingi.de Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH 2/6] isdn/hardware/eicon: add missing header dependencies Date: Sat, 24 Sep 2016 13:18:12 +0800 Message-Id: <1474694292-1142-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/isdn/hardware/eicon/diva.c:655:6: warning: no previous prototype for 'xdiFreeFile' [-Wmissing-prototypes] In fact, this function is declared in drivers/isdn/hardware/eicon/helpers.h, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/isdn/hardware/eicon/diva.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/drivers/isdn/hardware/eicon/diva.c b/drivers/isdn/hardware/eicon/diva.c index 9693add..ad32552 100644 --- a/drivers/isdn/hardware/eicon/diva.c +++ b/drivers/isdn/hardware/eicon/diva.c @@ -17,6 +17,7 @@ #include "xdi_adapter.h" #include "diva_pci.h" #include "diva.h" +#include "helpers.h" #ifdef CONFIG_ISDN_DIVAS_PRIPCI #include "os_pri.h"