summaryrefslogtreecommitdiff
path: root/drivers/net/fddi/skfp/h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-21 16:12:08 +0300
committerJakub Kicinski <kuba@kernel.org>2021-10-22 20:16:05 +0300
commit2e0566aeb9ff83db9fb22bf6f0b994f03377b038 (patch)
tree3d9b3dceafb6415480560e5062ba1331e0779672 /drivers/net/fddi/skfp/h
parent1e9258c389ee58b34238abaa600c10270b081af8 (diff)
downloadlinux-2e0566aeb9ff83db9fb22bf6f0b994f03377b038.tar.xz
fddi: skfp: constify and use dev_addr_set()
Get it ready for constant netdev->dev_addr. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/fddi/skfp/h')
-rw-r--r--drivers/net/fddi/skfp/h/smc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/h/smc.h b/drivers/net/fddi/skfp/h/smc.h
index 3814a2ff64ae..b0e6ce0d893e 100644
--- a/drivers/net/fddi/skfp/h/smc.h
+++ b/drivers/net/fddi/skfp/h/smc.h
@@ -470,7 +470,7 @@ void card_stop(struct s_smc *smc);
void init_board(struct s_smc *smc, u_char *mac_addr);
int init_fplus(struct s_smc *smc);
void init_plc(struct s_smc *smc);
-int init_smt(struct s_smc *smc, u_char *mac_addr);
+int init_smt(struct s_smc *smc, const u_char *mac_addr);
void mac1_irq(struct s_smc *smc, u_short stu, u_short stl);
void mac2_irq(struct s_smc *smc, u_short code_s2u, u_short code_s2l);
void mac3_irq(struct s_smc *smc, u_short code_s3u, u_short code_s3l);