1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
3 
4 #ifndef _IONIC_DEVLINK_H_
5 #define _IONIC_DEVLINK_H_
6 
7 #include <net/devlink.h>
8 
9 struct ionic *ionic_devlink_alloc(struct device *dev);
10 void ionic_devlink_free(struct ionic *ionic);
11 int ionic_devlink_register(struct ionic *ionic);
12 void ionic_devlink_unregister(struct ionic *ionic);
13 
14 #endif /* _IONIC_DEVLINK_H_ */
15