18 lines · c
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 9int ionic_firmware_update(struct ionic_lif *lif, const struct firmware *fw,10 struct netlink_ext_ack *extack);11 12struct ionic *ionic_devlink_alloc(struct device *dev);13void ionic_devlink_free(struct ionic *ionic);14int ionic_devlink_register(struct ionic *ionic);15void ionic_devlink_unregister(struct ionic *ionic);16 17#endif /* _IONIC_DEVLINK_H_ */18