stm class: make config_item_type const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 15:18:50 +0000 (17:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 14:15:30 +0000 (16:15 +0200)
commit085006e834cb293e28a988ea9f6edfa796b177fb
tree8d43f411d45eef2d1440d9614af9b68a003aa183
parentc1e950842f8a212a1811d4148a100d84b18037e4
stm class: 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 used inside a if statement or
stored in the const "ci_type" field of a config_item structure.

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/hwtracing/stm/policy.c