diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-09 19:59:04 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-09 17:32:49 -0800 |
commit | 8203274e1541392e8a85d4bcbcda55d62fe62469 (patch) | |
tree | 67b30dd8a4f2639c1aab3290165bc825b8b1d499 /net/caif/caif_dev.c | |
parent | fd944bded5ce32247941ce54eb8f65646549886b (diff) | |
download | op-kernel-dev-8203274e1541392e8a85d4bcbcda55d62fe62469.zip op-kernel-dev-8203274e1541392e8a85d4bcbcda55d62fe62469.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/caif/caif_dev.c b/net/caif/caif_dev.c index 4dca159..edbca46 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> |