summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/sbni.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-12-19 14:22:37 +0530
committerDavid S. Miller <davem@davemloft.net>2013-12-19 18:51:20 -0500
commitb6835f9c5d3199e6fa17ffad023f4b7dbad4f1a3 (patch)
treef38df1b7770514d2bf75fcd35ca6e6e4c02f5c54 /drivers/net/wan/sbni.c
parent33ba4079ea8c611c1aeca34f2d6d53a8214c14c5 (diff)
downloadlinux-b6835f9c5d3199e6fa17ffad023f4b7dbad4f1a3.tar.bz2
drivers: net: Include new header file in sbni.c
Create a new header file include/net/Space.h which contains prototype declaration of sbni_probe(). Include the new header file in drivers/net/Space.c and drivers/net/wan/sbni.c because they use this function. This eliminates the following warning in wan/sbni.c: drivers/net/wan/sbni.c:224:12: warning: no previous prototype for ‘sbni_probe’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/sbni.c')
-rw-r--r--drivers/net/wan/sbni.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index 388ddf60a66d..1b89ecf0959e 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -57,6 +57,7 @@
#include <net/net_namespace.h>
#include <net/arp.h>
+#include <net/Space.h>
#include <asm/io.h>
#include <asm/types.h>