Home
last modified time | relevance | path

Searched hist:"4 ac5bc34" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/3com/
H A D3c509.c4ac5bc34 Sat Aug 19 01:51:43 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> net: 3c509: constify eisa_device_id

eisa_device_id are not supposed to change at runtime. All functions
working with eisa_device_id provided by <linux/eisa.h> work with
const eisa_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>
4ac5bc34 Sat Aug 19 01:51:43 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> net: 3c509: constify eisa_device_id

eisa_device_id are not supposed to change at runtime. All functions
working with eisa_device_id provided by <linux/eisa.h> work with
const eisa_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>