Commit 4b409522 authored by Matt Carlson's avatar Matt Carlson Committed by David S. Miller

tg3: Eliminate unneeded prototype

This patch eliminates the unneeded tg3_halt_cpu() prototype and moves
the tg3_setup_phy() prototype closer to where it is needed.
Signed-off-by: default avatarMatt Carlson <mcarlson@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 16c7fa7d
...@@ -2709,9 +2709,6 @@ static int tg3_5700_link_polarity(struct tg3 *tp, u32 speed) ...@@ -2709,9 +2709,6 @@ static int tg3_5700_link_polarity(struct tg3 *tp, u32 speed)
return 0; return 0;
} }
static int tg3_setup_phy(struct tg3 *, int);
static int tg3_halt_cpu(struct tg3 *, u32);
static void tg3_power_down_phy(struct tg3 *tp, bool do_low_power) static void tg3_power_down_phy(struct tg3 *tp, bool do_low_power)
{ {
u32 val; u32 val;
...@@ -3514,6 +3511,8 @@ static int tg3_power_up(struct tg3 *tp) ...@@ -3514,6 +3511,8 @@ static int tg3_power_up(struct tg3 *tp)
return err; return err;
} }
static int tg3_setup_phy(struct tg3 *, int);
static int tg3_power_down_prepare(struct tg3 *tp) static int tg3_power_down_prepare(struct tg3 *tp)
{ {
u32 misc_host_ctrl; u32 misc_host_ctrl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment