OSDN Git Service

net/mlx5e: Eliminate build warnings on no previous prototype
authorOr Gerlitz <ogerlitz@mellanox.com>
Mon, 1 Jan 2018 13:19:51 +0000 (13:19 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Feb 2018 20:52:56 +0000 (12:52 -0800)
commit9afe9a5353778994d4396f3d5ff639221bfa5cc9
tree980472c2b1dd4a25586985ec6d0405f32f49cc65
parentf600c6088018d1dbc5777d18daa83660f7ea4a64
net/mlx5e: Eliminate build warnings on no previous prototype

Fix these gcc warnings on drivers/net/ethernet/mellanox/mlx5:

[..]/core/lib/clock.c:454:6: warning: no previous prototype for 'mlx5_init_clock' [-Wmissing-prototypes]
[..]/core/lib/clock.c:510:6: warning: no previous prototype for 'mlx5_cleanup_clock' [-Wmissing-prototypes]
[..]/core/en_main.c:3141:5: warning: no previous prototype for 'mlx5e_setup_tc' [-Wmissing-prototypes]

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c