Re: [PATCH] atm: make atmdev_ops const

2017-08-09 Thread David Miller
From: Bhumika Goyal Date: Wed, 9 Aug 2017 14:49:15 +0530 > Make these structures const as they are either passed to the function > atm_dev_register having the corresponding argument as const or stored in > the ops field of a atm_dev structure, which is also const. > Done using Coccinelle. > > S

[PATCH] atm: make atmdev_ops const

2017-08-09 Thread Bhumika Goyal
Make these structures const as they are either passed to the function atm_dev_register having the corresponding argument as const or stored in the ops field of a atm_dev structure, which is also const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/atm/adummy.c| 2 +- driver