aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-28 12:59:07 +0100
committerLee Jones <[email protected]>2024-05-10 15:44:28 +0100
commit717bbf03d28bfe50feee4c5fd7dcbe2217683888 (patch)
tree754742dc684bfc5293e90110072f326b800e86cd /tools/perf/util/trace-event-scripting.c
parentcda12ba5550650daa1bab3347aea509d4f7ee361 (diff)
backlight: lcd: Make lcd_class constant
Since commit 43a7206b0963 ("driver core: class: make class_register() take a const *"), the driver core allows for struct class to be in read-only memory, so move the lcd_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Greg Kroah-Hartman <[email protected]> Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ricardo B. Marliere <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Link: https://lore.kernel.org/r/2024032809-enchanted-conducive-3677@gregkh Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions