[PATCH 2/5] net: efi: correct function signature of set_ethaddr

Lucas Stach dev at lynxeye.de
Wed Mar 2 12:50:34 PST 2016


Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 drivers/net/efi-snp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/efi-snp.c b/drivers/net/efi-snp.c
index 5b96fbf..963d539 100644
--- a/drivers/net/efi-snp.c
+++ b/drivers/net/efi-snp.c
@@ -238,7 +238,7 @@ static int efi_snp_get_ethaddr(struct eth_device *edev, unsigned char *adr)
 	return 0;
 }
 
-static int efi_snp_set_ethaddr(struct eth_device *edev, unsigned char *adr)
+static int efi_snp_set_ethaddr(struct eth_device *edev, const unsigned char *adr)
 {
 	return 0;
 }
-- 
2.5.0




More information about the barebox mailing list