Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rashika Kheria and committed by
David S. Miller
8203274e fd944bde

+1
+1
net/caif/caif_dev.c
··· 22 22 #include <net/pkt_sched.h> 23 23 #include <net/caif/caif_device.h> 24 24 #include <net/caif/caif_layer.h> 25 + #include <net/caif/caif_dev.h> 25 26 #include <net/caif/cfpkt.h> 26 27 #include <net/caif/cfcnfg.h> 27 28 #include <net/caif/cfserl.h>