linux-stable/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
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
Kconfig
Makefile