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 <>
Signed-off-by: default avatarBjorn Andersson <>
parent c4d77d5f
......@@ -1360,7 +1360,7 @@ static void rproc_type_release(struct device *dev)
static struct device_type rproc_type = {
static const struct device_type rproc_type = {
.name = "remoteproc",
.release = rproc_type_release,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment