]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/atm/solos-pci.c
atm: make atmdev_ops const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 9 Aug 2017 09:19:15 +0000 (14:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Aug 2017 05:43:50 +0000 (22:43 -0700)
commit46c4b7a5694ccfdc2659fc8beb8736d7fb1c9841
treef866f5cdee6e320ab8d9f63c986b1191ad8030a7
parentd78d6776bc958b16b9a8883278f36d62e3145409
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>
drivers/atm/adummy.c
drivers/atm/atmtcp.c
drivers/atm/he.c
drivers/atm/idt77252.c
drivers/atm/nicstar.c
drivers/atm/solos-pci.c