mei: make device_type const

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 committed by Greg Kroah-Hartman
parent e8d2ed7db7
commit b8d01b7fba
1 changed files with 1 additions and 1 deletions

View File

@ -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,
};