diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-09-18 20:55:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 14:53:40 -0700 |
commit | b77f3ce0fd95cd4216e784d1192fd32980d4c244 (patch) | |
tree | 58a96fbff7b13241e80aa545cf487cd143a08ddb /drivers/net/appletalk/cops.c | |
parent | 98cf1c671a5fd181590f54be948135a20ace68d3 (diff) |
net/appletalk: Supply missing net/Space.h include file
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>
Diffstat (limited to 'drivers/net/appletalk/cops.c')
-rw-r--r-- | drivers/net/appletalk/cops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/appletalk/cops.c b/drivers/net/appletalk/cops.c index 1c6c27f35ac4..ba8e70a8e312 100644 --- a/drivers/net/appletalk/cops.c +++ b/drivers/net/appletalk/cops.c @@ -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> |