diff options
author | 2023-06-20 20:31:43 +0200 | |
---|---|---|
committer | 2023-08-05 08:31:41 +0200 | |
commit | 32944855bac74bda81deec6c1480a82db8ef9beb (patch) | |
tree | 38f4bb7414337cf82d5354d1b3033f5e90005fec /drivers/base/node.c | |
parent | HID: roccat: make all 'class' structures const (diff) | |
download | linux-rng-32944855bac74bda81deec6c1480a82db8ef9beb.tar.xz linux-rng-32944855bac74bda81deec6c1480a82db8ef9beb.zip |
HID: hidraw: make hidraw_class structure const
Now that the driver core allows for struct class to be in read-only
memory, making all 'class' structures to be declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at load time.
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Cc: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230620183141.681353-4-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions