]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - drivers/net/ethernet/mellanox/mlx5/core/devlink.c
net/mlx5: add missing void argument to function mlx5_devlink_alloc
[mirror_ubuntu-eoan-kernel.git] / drivers / net / ethernet / mellanox / mlx5 / core / devlink.c
index ed4202e883f087eb06fb0778c68e4e532598c4d7..1533c657220be60863259cca690d44c30de9e7ec 100644 (file)
@@ -37,7 +37,7 @@ static const struct devlink_ops mlx5_devlink_ops = {
        .flash_update = mlx5_devlink_flash_update,
 };
 
-struct devlink *mlx5_devlink_alloc()
+struct devlink *mlx5_devlink_alloc(void)
 {
        return devlink_alloc(&mlx5_devlink_ops, sizeof(struct mlx5_core_dev));
 }