airoha: en7523: fix SPI patch no prototype error
authorAndrew LaMarche <[email protected]>
Tue, 23 Sep 2025 17:26:46 +0000 (13:26 -0400)
committerHauke Mehrtens <[email protected]>
Wed, 24 Sep 2025 22:12:27 +0000 (00:12 +0200)
commit3db08ebaa78356a17ebb84ceb4c35a0224cb2d1e
treea86a38a24412addb3616b5d2b4ce382cff3dd658
parent46d83193e8d44b0dfa8790fdc84f6eea6b11ec9c
airoha: en7523: fix SPI patch no prototype error

en7523 compilation on 6.12 fails with a no prototype warning. Fix this
by declaring max_transfer_size and transfer_one_message static.

Signed-off-by: Andrew LaMarche <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20138
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/airoha/patches-6.12/300-spi-Add-support-for-the-Airoha-EN7523-SoC-SPI-contro.patch