commit | ce7980ae9080f72f08d50355c4d9084d57aece63 | [log] [tgz] |
---|---|---|
author | Thomas Weißschuh <linux@weissschuh.net> | Fri Feb 17 03:16:25 2023 +0000 |
committer | Thomas Gleixner <tglx@linutronix.de> | Tue Feb 21 15:00:09 2023 +0100 |
tree | 7c19278a12852b75dee2f4e67a318fc9d60807a6 | |
parent | e6cc6f175566dd21a3f6e384c24593b1c751dd74 [diff] |
genirq/irqdesc: Make kobj_type structures constant Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type. Take advantage of this to constify the structure definitions which prevents modification at runtime. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230217-kobj_type-irq-v1-1-fedfacaf8cdb@weissschuh.net