atm: make atmdev_ops const

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 <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Esse commit está contido em:
Bhumika Goyal
2017-08-09 14:49:15 +05:30
commit de David S. Miller
commit 46c4b7a569
6 arquivos alterados com 6 adições e 6 exclusões

Ver arquivo

@@ -161,7 +161,7 @@ static unsigned int clocktab[] = {
CLK_LOW
};
static struct atmdev_ops he_ops =
static const struct atmdev_ops he_ops =
{
.open = he_open,
.close = he_close,