linux/drivers/misc/genwqe
Ivan Orlov b5fa337955 misc: genwqe: make class_genwqe a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the class_genwqe structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time. Update the 'class_genwqe' field of the
'genwqe_dev' struct correspondingly.

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230810182711.22664-1-ivan.orlov0322@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 21:41:33 +02:00
..
card_base.c misc: genwqe: make class_genwqe a static const structure 2023-08-11 21:41:33 +02:00
card_base.h misc: genwqe: make class_genwqe a static const structure 2023-08-11 21:41:33 +02:00
card_ddcb.c misc: genwqe: Rudimentary typo fixes 2021-03-28 14:39:40 +02:00
card_ddcb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
card_debugfs.c misc: genwqe: card_debugfs: Demote file header from kerneldoc 2020-07-01 15:08:02 +02:00
card_dev.c mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
card_sysfs.c misc: genwqe: card_sysfs: Demote function/file headers from kerneldoc 2020-07-01 15:08:02 +02:00
card_utils.c mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
genwqe_driver.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 289 2019-06-05 17:36:38 +02:00
Kconfig Merge 5.2-rc4 into char-misc-next 2019-06-09 09:11:21 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00