[PATCH] fixup! net: Add Intel e1000 driver
Antony Pavlov
antonynpavlov at gmail.com
Thu Apr 2 13:50:21 PDT 2015
the fixup removes this warning
drivers/net/e1000.c:139:6: warning: no previous prototype for 'e1000_raise_ee_clk' [-Wmissing-prototypes]
void e1000_raise_ee_clk(struct e1000_hw *hw, uint32_t *eecd)
^
---
drivers/net/e1000.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index 0512ae4..6ef8259 100644
--- a/drivers/net/e1000.c
+++ b/drivers/net/e1000.c
@@ -136,7 +136,7 @@ static bool e1000_media_fiber_serdes(struct e1000_hw *hw)
* hw - Struct containing variables accessed by shared code
* eecd - EECD's current value
*****************************************************************************/
-void e1000_raise_ee_clk(struct e1000_hw *hw, uint32_t *eecd)
+static void e1000_raise_ee_clk(struct e1000_hw *hw, uint32_t *eecd)
{
/* Raise the clock input to the EEPROM (by setting the SK bit), and then
* wait 50 microseconds.
--
2.1.4
More information about the barebox
mailing list