OFS / linux-dfl-backport

Backport version of the linux-dfl (Device Feature List) kernel driver for FPGA devices. This is an out-of-tree driver, designed to be built, packaged, and installed as a stand-alone set of driver modules.
GNU General Public License v2.0
3 stars 11 forks source link

Backport to 6.13 #148

Closed pcolberg closed 17 hours ago

pcolberg commented 1 day ago

This follows commit 0809a9ccac4a ("spi: remove {devm_}spi_alloc_master/slave()") to fix building against 6.13.

The cherry-picked upstream patches had been applied previously, but spi_alloc_master() was not replaced with spi_alloc_host() since the latter was only added in Linux 6.1.

pcolberg commented 1 day ago

The device-managed variant, devm_spi_alloc_master() was only introduced in 5.10, see commit 5e844cc37a5c ("spi: Introduce device-managed SPI controller allocation").