mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! net: Add Intel e1000 driver
@ 2015-04-02 20:50 Antony Pavlov
  2015-04-03  6:03 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2015-04-02 20:50 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fixup! net: Add Intel e1000 driver
  2015-04-02 20:50 [PATCH] fixup! net: Add Intel e1000 driver Antony Pavlov
@ 2015-04-03  6:03 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-04-03  6:03 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Thu, Apr 02, 2015 at 11:50:21PM +0300, Antony Pavlov wrote:
> 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(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-03  6:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-02 20:50 [PATCH] fixup! net: Add Intel e1000 driver Antony Pavlov
2015-04-03  6:03 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox