configfs: make config_item_type const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 15:18:54 +0000 (17:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:15:15 +0000 (16:15 +0200)
commit84c43674f4c0625971cbb03fbe339ec2723ef10e
treeb3bd4e62c9fd4682075e537535d35272a4c2841e
parent3f6928c347707a65cee10a9f54b85ad5fb078b3f
configfs: make config_item_type const

Make config_item_type structures const as they are either passed to a
function having the argument as const or stored in the const "ci_type"
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>
samples/configfs/configfs_sample.c