drm/rockchip: Don't change hdmi reference clock rate
[drm/drm-misc.git] / drivers / net / ethernet / fungible / funeth / funeth_devlink.c
blob4fbeb3fd71a8ae2438d489f0a6cf9c5966feb78b
1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 #include "funeth.h"
4 #include "funeth_devlink.h"
6 static const struct devlink_ops fun_dl_ops = {
7 };
9 struct devlink *fun_devlink_alloc(struct device *dev)
11 return devlink_alloc(&fun_dl_ops, sizeof(struct fun_ethdev), dev);
14 void fun_devlink_free(struct devlink *devlink)
16 devlink_free(devlink);
19 void fun_devlink_register(struct devlink *devlink)
21 devlink_register(devlink);
24 void fun_devlink_unregister(struct devlink *devlink)
26 devlink_unregister(devlink);