diff options
| author | Ivan Orlov <[email protected]> | 2024-04-12 15:17:26 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-10 08:22:20 +0000 |
| commit | d7d3ae441e29f0ca56c69cdd3a47769227b7be3d (patch) | |
| tree | 57d0597244174c1e54647a29ce276f155868e442 /drivers/net/ethernet/intel/ice/ice_ptp.c | |
| parent | Merge tag 'platform-remove-void-step-b' of https://git.kernel.org/pub/scm/lin... (diff) | |
| download | kernel-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
