diff options
author | 2023-06-20 16:37:55 +0200 | |
---|---|---|
committer | 2023-06-23 10:27:13 +0200 | |
commit | 7671284b6c77df93b7dad8be40fe354dd4243a5d (patch) | |
tree | ebb6c6d0a732b4e84de85f838fe3442a3af1cebd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | char: lp: make lp_class a static const structure (diff) | |
download | wireguard-linux-7671284b6c77df93b7dad8be40fe354dd4243a5d.tar.xz wireguard-linux-7671284b6c77df93b7dad8be40fe354dd4243a5d.zip |
/dev/mem: make mem_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the mem_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at load time.
Cc: Arnd Bergmann <arnd@arndb.de>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230620143751.578239-13-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions