net/mlx5: add missing void argument to function mlx5_devlink_alloc
Function mlx5_devlink_alloc is missing a void argument, add it to clean up the non-ANSI function declaration. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
da21ad276a
commit
39f5886032
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue