mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
media: i2c: 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: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
d746cf89b4
commit
ea9b0f31c1
1 changed files with 1 additions and 1 deletions
|
|
@ -592,7 +592,7 @@ static const struct dev_pm_ops mt9t031_dev_pm_ops = {
|
|||
.runtime_resume = mt9t031_runtime_resume,
|
||||
};
|
||||
|
||||
static struct device_type mt9t031_dev_type = {
|
||||
static const struct device_type mt9t031_dev_type = {
|
||||
.name = "MT9T031",
|
||||
.pm = &mt9t031_dev_pm_ops,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue