diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-03-01 18:19:28 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-02 20:21:06 +0100 |
| commit | c40b51b3f365f6bc903719acc4fac7eed8a56639 (patch) | |
| tree | 7befb8ea9d6716cb556a5d618efbe616c740b288 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | a74c0c9c3f7fa6fba34196d142bab93509f17dba (diff) | |
usb: typec: constify struct class usage
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 structures typec_mux_class, retimer_class and
typec_class to be declared at build time placing them 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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions