]> git.baikalelectronics.ru Git - kernel.git/commit
net: amd: constify zorro_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 22 Aug 2017 18:11:12 +0000 (23:41 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:35:36 +0000 (14:35 -0700)
commit4f82c55503b01475676473ede16d3aedfd83c84f
tree4b7b234673219fed7cb265c1d2d6e55830d28d8a
parentc81dde5cad3ad18194c3e61c05e4198767b7fc54
net: amd: constify zorro_device_id

zorro_device_id are not supposed to change at runtime. All functions
working with zorro_device_id provided by <linux/zorro.h> work with
const zorro_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/a2065.c
drivers/net/ethernet/amd/ariadne.c