summaryrefslogtreecommitdiffstats
path: root/net/caif/caif_dev.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-02-09 15:29:04 +0100
committerDavid S. Miller <davem@davemloft.net>2014-02-10 02:32:49 +0100
commit8203274e1541392e8a85d4bcbcda55d62fe62469 (patch)
tree67b30dd8a4f2639c1aab3290165bc825b8b1d499 /net/caif/caif_dev.c
parentnet: Mark function as static in 9p/client.c (diff)
downloadlinux-8203274e1541392e8a85d4bcbcda55d62fe62469.tar.xz
linux-8203274e1541392e8a85d4bcbcda55d62fe62469.zip
net: Include appropriate header file in caif/caif_dev.c
Include appropriate header file net/caif/caif_dev.h in caif/caif_dev.c because it has prototype declarations of function defined in caif/caif_dev.c. This eliminates the following file in caif/caif_dev.c: net/caif/caif_dev.c:303:6: warning: no previous prototype for ‘caif_enroll_dev’ [-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 'net/caif/caif_dev.c')
-rw-r--r--net/caif/caif_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/caif/caif_dev.c b/net/caif/caif_dev.c
index 4dca159435cf..edbca468fa73 100644
--- a/net/caif/caif_dev.c
+++ b/net/caif/caif_dev.c
@@ -22,6 +22,7 @@
#include <net/pkt_sched.h>
#include <net/caif/caif_device.h>
#include <net/caif/caif_layer.h>
+#include <net/caif/caif_dev.h>
#include <net/caif/cfpkt.h>
#include <net/caif/cfcnfg.h>
#include <net/caif/cfserl.h>