mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
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:
parent
e8d2ed7db7
commit
b8d01b7fba
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue