1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 3 #ifndef __FUNETH_DEVLINK_H 4 #define __FUNETH_DEVLINK_H 5 6 #include <net/devlink.h> 7 8 struct devlink *fun_devlink_alloc(struct device *dev); 9 void fun_devlink_free(struct devlink *devlink); 10 void fun_devlink_register(struct devlink *devlink); 11 void fun_devlink_unregister(struct devlink *devlink); 12 13 #endif /* __FUNETH_DEVLINK_H */ 14