]> git.karo-electronics.de Git - linux-beck.git/commit
drivers: net: Include new header file in sbni.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 08:52:37 +0000 (14:22 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Dec 2013 23:51:20 +0000 (18:51 -0500)
commitb6835f9c5d3199e6fa17ffad023f4b7dbad4f1a3
treef38df1b7770514d2bf75fcd35ca6e6e4c02f5c54
parent33ba4079ea8c611c1aeca34f2d6d53a8214c14c5
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>
drivers/net/Space.c
drivers/net/wan/sbni.c
include/net/Space.h [new file with mode: 0644]