aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_ptp.c
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2024-04-12 15:17:26 +0000
committerGreg Kroah-Hartman <[email protected]>2024-06-10 08:22:20 +0000
commitd7d3ae441e29f0ca56c69cdd3a47769227b7be3d (patch)
tree57d0597244174c1e54647a29ce276f155868e442 /drivers/net/ethernet/intel/ice/ice_ptp.c
parentMerge tag 'platform-remove-void-step-b' of https://git.kernel.org/pub/scm/lin... (diff)
downloadkernel-d7d3ae441e29f0ca56c69cdd3a47769227b7be3d.tar.gz
kernel-d7d3ae441e29f0ca56c69cdd3a47769227b7be3d.zip
dca: make dca_class a static const structure
The driver core allows for struct class to be in read-only memory. Move the dca_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ivan Orlov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ptp.c')
0 files changed, 0 insertions, 0 deletions