diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-06 15:58:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-06 16:44:47 +0200 |
commit | df22568ad8ed317db95acc11e1c08bae7a0fba5d (patch) | |
tree | add287aa6dc3c875ed7ba9299797f116ca3f8354 /drivers/ptp | |
parent | spi: mpc52xx-psc: Make mpc52xx_psc_spi_transfer_one_message() static (diff) | |
download | linux-df22568ad8ed317db95acc11e1c08bae7a0fba5d.tar.xz linux-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 <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/2023100639-celtic-herbs-66be@gregkh
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions