Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
22 lines
626 B
C
22 lines
626 B
C
/*
|
|
* Copyright (C) ST-Ericsson AB 2010
|
|
* Author: Sjur Brendeland
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
*/
|
|
|
|
#ifndef CFFRML_H_
|
|
#define CFFRML_H_
|
|
#include <net/caif/caif_layer.h>
|
|
#include <linux/netdevice.h>
|
|
|
|
struct cffrml;
|
|
struct cflayer *cffrml_create(u16 phyid, bool use_fcs);
|
|
void cffrml_free(struct cflayer *layr);
|
|
void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
|
|
void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
|
|
void cffrml_put(struct cflayer *layr);
|
|
void cffrml_hold(struct cflayer *layr);
|
|
int cffrml_refcnt_read(struct cflayer *layr);
|
|
|
|
#endif /* CFFRML_H_ */
|