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:
Родитель
e8d2ed7db7
Коммит
b8d01b7fba
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче