mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
staging: greybus: 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
34ff1bf492
commit
afd37dfa43
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ static const struct dev_pm_ops gb_gbphy_pm_ops = {
|
|||
gb_gbphy_idle)
|
||||
};
|
||||
|
||||
static struct device_type greybus_gbphy_dev_type = {
|
||||
static const struct device_type greybus_gbphy_dev_type = {
|
||||
.name = "gbphy_device",
|
||||
.release = gbphy_dev_release,
|
||||
.pm = &gb_gbphy_pm_ops,
|
||||
|
|
|
|||
Loading…
Reference in a new issue