]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdee979bbb2098c3282386488bb04c5c03ae36bc
tree8d43f411d45eef2d1440d9614af9b68a003aa183
parent5e7cf397c907a97af2c581a37b4420f8f70f1891
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