[PATCH 2/6] isdn/hardware/eicon: add missing header dependencies
From: Baoyou Xie
Date: Sat Sep 24 2016 - 01:18:41 EST
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@xxxxxxxxxx>
---
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