diff options
author | Jakub Kicinski | 2021-10-22 16:21:01 -0700 |
---|---|---|
committer | David S. Miller | 2021-10-24 13:59:45 +0100 |
commit | 5520fb42a0a1eacbb07352e46b6383399c9065e1 (patch) | |
tree | f145cebc195f983e157365d608258941d56a03ca /net/caif/caif_usb.c | |
parent | 39c19fb9b4f9a7e1b29027fad9e1fa933dddf36d (diff) |
net: caif: get ready for const netdev->dev_addr
Get it ready for constant netdev->dev_addr.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/caif_usb.c')
-rw-r--r-- | net/caif/caif_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/caif_usb.c b/net/caif/caif_usb.c index b02e1292f7f1..4be6b04879a1 100644 --- a/net/caif/caif_usb.c +++ b/net/caif/caif_usb.c @@ -81,7 +81,7 @@ static void cfusbl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, layr->up->ctrlcmd(layr->up, ctrl, layr->id); } -static struct cflayer *cfusbl_create(int phyid, u8 ethaddr[ETH_ALEN], +static struct cflayer *cfusbl_create(int phyid, const u8 ethaddr[ETH_ALEN], u8 braddr[ETH_ALEN]) { struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC); |