summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/fungible/funeth/funeth_devlink.h
blob: e40464d57ff46bb3a50b3a9b5cdc94408a37f84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */

#ifndef __FUNETH_DEVLINK_H
#define __FUNETH_DEVLINK_H

#include <net/devlink.h>

struct devlink *fun_devlink_alloc(struct device *dev);
void fun_devlink_free(struct devlink *devlink);
void fun_devlink_register(struct devlink *devlink);
void fun_devlink_unregister(struct devlink *devlink);

#endif /* __FUNETH_DEVLINK_H */