diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-03-10 05:10:08 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2024-03-10 21:38:04 +0000 |
| commit | a4735d40a5da96a637af6e5bf9f6ec8b9d996acd (patch) | |
| tree | 4b504100ab7b6ce5b79578f90355aee0bf0a3bd0 /scripts/bpf_doc.py | |
| parent | dt-bindings: input: atmel,captouch: convert bindings to YAML (diff) | |
| download | kernel-a4735d40a5da96a637af6e5bf9f6ec8b9d996acd.tar.gz kernel-a4735d40a5da96a637af6e5bf9f6ec8b9d996acd.zip | |
Input: make input_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 input_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
