mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-11 23:27:42 +07:00
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: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
c4d77d5fcd
commit
c42ca04da5
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user