Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afd37dfa authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman
Browse files

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34ff1bf4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -66,7 +66,7 @@ static const struct dev_pm_ops gb_gbphy_pm_ops = {
			   gb_gbphy_idle)
			   gb_gbphy_idle)
};
};


static struct device_type greybus_gbphy_dev_type = {
static const struct device_type greybus_gbphy_dev_type = {
	.name	 =	"gbphy_device",
	.name	 =	"gbphy_device",
	.release =	gbphy_dev_release,
	.release =	gbphy_dev_release,
	.pm	=	&gb_gbphy_pm_ops,
	.pm	=	&gb_gbphy_pm_ops,