Skip to content

Commit 02fe72c

Browse files
rashikadavem330
authored andcommitted
net: Include appropriate header file in caif/cfsrvl.c
Include appropriate header file net/caif/caif_dev.h in caif/cfsrvl.c because it has prototype declaration of functions defined in caif/cfsrvl.c. This eliminates the following warning in caif/cfsrvl.c: net/caif/cfsrvl.c:198:6: warning: no previous prototype for ‘caif_free_client’ [-Wmissing-prototypes] net/caif/cfsrvl.c:208:6: warning: no previous prototype for ‘caif_client_register_refcnt’ [-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>
1 parent 8203274 commit 02fe72c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎net/caif/cfsrvl.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <net/caif/caif_layer.h>
1616
#include <net/caif/cfsrvl.h>
1717
#include <net/caif/cfpkt.h>
18+
#include <net/caif/caif_dev.h>
1819

1920
#define SRVL_CTRL_PKT_SIZE 1
2021
#define SRVL_FLOW_OFF 0x81

0 commit comments

Comments
 (0)