ethernet: constify references to netdev->dev_addr in drivers
[linux-2.6-block.git] / drivers / net / ethernet / sfc / ef10.c
index e7e2223aebbf51d1470271da0a476b76a7b53cb7..cf366ed2557cc54030a2de55e5fbc30072de977b 100644 (file)
@@ -1038,7 +1038,7 @@ int efx_ef10_vadaptor_free(struct efx_nic *efx, unsigned int port_id)
 }
 
 int efx_ef10_vport_add_mac(struct efx_nic *efx,
-                          unsigned int port_id, u8 *mac)
+                          unsigned int port_id, const u8 *mac)
 {
        MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_ADD_MAC_ADDRESS_IN_LEN);
 
@@ -1050,7 +1050,7 @@ int efx_ef10_vport_add_mac(struct efx_nic *efx,
 }
 
 int efx_ef10_vport_del_mac(struct efx_nic *efx,
-                          unsigned int port_id, u8 *mac)
+                          unsigned int port_id, const u8 *mac)
 {
        MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_DEL_MAC_ADDRESS_IN_LEN);