target: make config_item_type const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 15:18:42 +0000 (17:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:15:17 +0000 (16:15 +0200)
commitece550b5758645809876e6e7862bf485c3a8d15c
treedbe176b10e95ff12dbb7bf5a380e6404626344b2
parentaa293583f0fe8b1634aeadbea06b4d0d04c30a95
target: make config_item_type const

Make these structures const as they are either passed to the functions
having the argument as const or stored as a reference in the "ci_type"
const field of a config_item structure.

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/target/iscsi/iscsi_target_stat.c
drivers/target/target_core_configfs.c
drivers/target/target_core_stat.c
include/target/iscsi/iscsi_target_stat.h