summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-03-05 21:18:51 +0300
committerVinod Koul <vkoul@kernel.org>2024-04-06 09:23:32 +0300
commitdb704bf6dccc8fef77ee4a8326bf2013b828205b (patch)
treec9069bc47ebd2d020408b9a3c0423a914fccf1e5 /tools/perf/scripts/python/exported-sql-viewer.py
parent5cee04a8369049b92d52995e320abff18dfeda44 (diff)
downloadlinux-db704bf6dccc8fef77ee4a8326bf2013b828205b.tar.xz
phy: core: make phy_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 phy_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net> Link: https://lore.kernel.org/r/20240305-class_cleanup-phy-v1-1-106013a644dc@marliere.net Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions