Commit c42ca04d authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Bjorn Andersson
Browse files

remoteproc: 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 avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent c4d77d5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1360,7 +1360,7 @@ static void rproc_type_release(struct device *dev)
	kfree(rproc);
}

static struct device_type rproc_type = {
static const struct device_type rproc_type = {
	.name		= "remoteproc",
	.release	= rproc_type_release,
};