Skip to content

Commit bd2c0c4

Browse files
committed
Merge tag 'mvebu-arm64-6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into soc/arm
mvebu arm64 for 6.4 (part 1) turris-mox-rwtm firmware: - prevent modification at runtime of the kobj_type struct * tag 'mvebu-arm64-6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: firmware: turris-mox-rwtm: make kobj_type structure constant Link: https://lore.kernel.org/r/878repzfbp.fsf@BL-laptop Signed-off-by: Arnd Bergmann <[email protected]>
2 parents b1b99b0 + f326e72 commit bd2c0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/turris-mox-rwtm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static void mox_kobj_release(struct kobject *kobj)
104104
kfree(to_rwtm(kobj)->kobj);
105105
}
106106

107-
static struct kobj_type mox_kobj_ktype = {
107+
static const struct kobj_type mox_kobj_ktype = {
108108
.release = mox_kobj_release,
109109
.sysfs_ops = &kobj_sysfs_ops,
110110
};

0 commit comments

Comments
 (0)