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

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
......@@ -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,
};
......
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