Patch 1 updates devl_dpipe_table_register() and struct devlink_dpipe_table to accept "const struct devlink_dpipe_table_ops". Then patch 2 updates the only user of this function. This is compile tested only. Christophe JAILLET (2): devlink: Constify the 'table_ops' parameter of devl_dpipe_table_register() mlxsw: spectrum_router: Constify struct devlink_dpipe_table_ops drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | 8 ++++---- include/net/devlink.h | 4 ++-- net/devlink/dpipe.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) -- 2.45.1