net/appletalk: Supply missing net/Space.h include file
authorWang Hai <wanghai38@huawei.com>
Fri, 18 Sep 2020 12:55:51 +0000 (20:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2020 21:53:40 +0000 (14:53 -0700)
If the header file containing a function's prototype isn't included by
the sourcefile containing the associated function, the build system
complains of missing prototypes.

Fixes the following W=1 kernel build warning(s):

drivers/net/appletalk/cops.c:213:28: warning: no previous prototype for ‘cops_probe’ [-Wmissing-prototypes]
drivers/net/appletalk/ltpc.c:1014:28: warning: no previous prototype for ‘ltpc_probe’ [-Wmissing-prototypes]

Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/appletalk/cops.c
drivers/net/appletalk/ltpc.c

index 1c6c27f..ba8e70a 100644 (file)
@@ -70,6 +70,8 @@ static const char *version =
 #include <linux/bitops.h>
 #include <linux/jiffies.h>
 
+#include <net/Space.h>
+
 #include <asm/io.h>
 #include <asm/dma.h>
 
index 75a5a9b..c6f73aa 100644 (file)
@@ -229,6 +229,8 @@ static int dma;
 #include <linux/bitops.h>
 #include <linux/gfp.h>
 
+#include <net/Space.h>
+
 #include <asm/dma.h>
 #include <asm/io.h>