Skip to contentSkip to conversation

phy: add phy_smsc_init() declaration

PATCH New Vladimir Zapolskiy 3 participants 3 messages Dec 30, 2011 – Jan 5, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: add phy_smsc_init() declaration

This trivial change removes a compilation warning:
----8<----
phy.c: In function 'phy_init':
phy.c:448:2: warning: implicit declaration of function 'phy_smsc_init' ----8<----

---
 include/phy.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/phy.h +1 -0
index 095f41c..bc522d5 100644
@@ -224,6 +224,7 @@ int phy_marvell_init(void);
 int phy_micrel_init(void);
 int phy_natsemi_init(void);
 int phy_realtek_init(void);
+int phy_smsc_init(void);
 int phy_teranetics_init(void);
 int phy_vitesse_init(void);
 
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 phy: add phy_smsc_init() declaration

Quoted 17 lines

This trivial change removes a compilation warning:
----8<----
phy.c: In function 'phy_init':
phy.c:448:2: warning: implicit declaration of function 'phy_smsc_init' ----8<----

---
 include/phy.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/phy.h +0 -0
index 095f41c..bc522d5 100644

include/phy.h int phy_marvell_init(void); · line 229

Quoted 6 lines
include/phy.h +1 -0
@@ -224,6 +224,7 @@ int phy_marvell_init(void);
 int phy_micrel_init(void);
 int phy_natsemi_init(void);
 int phy_realtek_init(void);
+int phy_smsc_init(void);
 int phy_teranetics_init(void);
 int phy_vitesse_init(void);
#2 lore raw

PATCH 1/1 phy: add phy_smsc_init() declaration

In reply to Vladimir Zapolskiy

Dear Vladimir Zapolskiy,

Quoted 11 lines · In message <[email protected]> you wrote:

This trivial change removes a compilation warning:
----8<----
phy.c: In function 'phy_init':
phy.c:448:2: warning: implicit declaration of function 'phy_smsc_init' ----8<----

---
 include/phy.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Niklaus Wirth has lamented that, whereas Europeans pronounce his name
correctly (Ni-klows Virt), Americans invariably mangle it into (Nick-
les Worth). Which is to say that Europeans  call  him  by  name,  but
Americans call him by value.