diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-06-20 11:44:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-20 16:20:48 +0200 |
commit | 99f2d956e1fa3ead355cde4fd1a914e54cfe0a40 (patch) | |
tree | 338cb298921f99ad9c29948e1ae192e0431e492f /io_uring/filetable.h | |
parent | 2c10e7a049dad73503da41c7754add91cb7b35d9 (diff) |
USB: gadget: f_hid: make hidg_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the hidg_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at load time.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230620094412.508580-11-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'io_uring/filetable.h')
0 files changed, 0 insertions, 0 deletions