mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] net: e1000: correct function signature of set_ethaddr
@ 2015-09-08  9:43 Lucas Stach
  2015-09-09  6:45 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2015-09-08  9:43 UTC (permalink / raw)
  To: barebox

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 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 6ef825928621..a7acfd00acc4 100644
--- a/drivers/net/e1000.c
+++ b/drivers/net/e1000.c
@@ -1106,7 +1106,7 @@ static int e1000_get_ethaddr(struct eth_device *edev, unsigned char *adr)
 	return 0;
 }
 
-static int e1000_set_ethaddr(struct eth_device *edev, unsigned char *adr)
+static int e1000_set_ethaddr(struct eth_device *edev, const unsigned char *adr)
 {
 	struct e1000_hw *hw = edev->priv;
 	uint32_t addr_low;
-- 
2.5.0


_______________________________________________
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-09-09  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-08  9:43 [PATCH] net: e1000: correct function signature of set_ethaddr Lucas Stach
2015-09-09  6:45 ` Sascha Hauer

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