[PATCH] fixup! net: Add Intel e1000 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux