Commit cdb37f73 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Jens Axboe
Browse files

block: constify struct part_type part_type

parent 539050f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -256,7 +256,7 @@ static int part_uevent(const struct device *dev, struct kobj_uevent_env *env)
	return 0;
}

struct device_type part_type = {
const struct device_type part_type = {
	.name		= "partition",
	.groups		= part_attr_groups,
	.release	= part_release,
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ struct blk_stat_callback;
struct blk_crypto_profile;

extern const struct device_type disk_type;
extern struct device_type part_type;
extern const struct device_type part_type;
extern struct class block_class;

/*