Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490554 > unrolled thread

[PATCH 2/6] isdn/hardware/eicon: add missing header dependencies

Started byBaoyou Xie <baoyou.xie@linaro.org>
First post2016-09-24 07:20 +0200
Last post2016-09-24 07:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 2/6] isdn/hardware/eicon: add missing header dependencies Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-24 07:20 +0200

#1490554 — [PATCH 2/6] isdn/hardware/eicon: add missing header dependencies

FromBaoyou Xie <baoyou.xie@linaro.org>
Date2016-09-24 07:20 +0200
Subject[PATCH 2/6] isdn/hardware/eicon: add missing header dependencies
Message-ID<skNxw-5iQ-5@gated-at.bofh.it>
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 <baoyou.xie@linaro.org>
---
 drivers/isdn/hardware/eicon/diva.c | 1 +
 1 file changed, 1 insertion(+)

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"
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web