diff options
| author | Greg Kroah-Hartman <[email protected]> | 2023-10-06 13:58:40 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-10-06 14:44:47 +0000 |
| commit | df22568ad8ed317db95acc11e1c08bae7a0fba5d (patch) | |
| tree | add287aa6dc3c875ed7ba9299797f116ca3f8354 /drivers/pci/controller/pci-host-generic.c | |
| parent | spi: mpc52xx-psc: Make mpc52xx_psc_spi_transfer_one_message() static (diff) | |
| download | kernel-df22568ad8ed317db95acc11e1c08bae7a0fba5d.tar.gz kernel-df22568ad8ed317db95acc11e1c08bae7a0fba5d.zip | |
spi: spidev: make spidev_class constant
Now that the driver core allows for struct class to be in read-only
memory, we should make all 'class' structures declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at runtime.
Cc: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/2023100639-celtic-herbs-66be@gregkh
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions
