Make this const as it is only stored in the type field of a device
structure, which is const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Bhumika Goyal 2017-08-19 13:52:16 +05:30 коммит произвёл Greg Kroah-Hartman
Родитель e8d2ed7db7
Коммит b8d01b7fba
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -845,7 +845,7 @@ static void mei_cl_bus_dev_release(struct device *dev)
kfree(cldev);
}
static struct device_type mei_cl_device_type = {
static const struct device_type mei_cl_device_type = {
.release = mei_cl_bus_dev_release,
};