#define pr_fmt(fmt) …
#include <linux/stddef.h>
#include <linux/slab.h>
#include <net/caif/caif_layer.h>
#include <net/caif/cfsrvl.h>
#include <net/caif/cfpkt.h>
#define container_obj(layr) …
static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt);
static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt);
struct cflayer *cfdbgl_create(u8 channel_id, struct dev_info *dev_info)
{ … }
static int cfdbgl_receive(struct cflayer *layr, struct cfpkt *pkt)
{ … }
static int cfdbgl_transmit(struct cflayer *layr, struct cfpkt *pkt)
{ … }