Include appropriate header file helpers.h in hardware/eicon/diva.c because it defines function declared in the header file.
This eliminates the following warning in hardware/eicon/diva.c: drivers/isdn/hardware/eicon/diva.c:655:6: warning: no previous prototype for ‘xdiFreeFile’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.khe...@gmail.com> Reviewed-by: Josh Triplett <j...@joshtriplett.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 d91dd58..6f28797 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" -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/