[PATCH] net: e1000: correct function signature of set_ethaddr

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

 



Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
---
 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@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