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
|
@ -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 New Issue