net: atm: make atmdev_ops const
Make these const as they are only stored in the ops field of a atm_dev structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
46c4b7a569
commit
800bb47e71
@@ -617,7 +617,7 @@ static void atmarpd_close(struct atm_vcc *vcc)
|
||||
module_put(THIS_MODULE);
|
||||
}
|
||||
|
||||
static struct atmdev_ops atmarpd_dev_ops = {
|
||||
static const struct atmdev_ops atmarpd_dev_ops = {
|
||||
.close = atmarpd_close
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user