lantiq: fix eeprom driver build warnings:
authorShiji Yang <[email protected]>
Thu, 8 May 2025 13:41:17 +0000 (21:41 +0800)
committerDaniel Golle <[email protected]>
Fri, 18 Jul 2025 11:30:59 +0000 (12:30 +0100)
commitb87c88efeed89439834e1cf7611f83971af4d1d8
treed59f09e8a191e80f0760bf4fb7a9448b67615493
parent671638d8fcaecc0f98d6f298a9e275763baccfd1
lantiq: fix eeprom driver build warnings:

This patch fixes the following build warnings:

arch/mips/lantiq/xway/ath5k_eep.c:34:12: error: no previous prototype for 'of_ath5k_eeprom_probe' [-Werror=missing-prototypes]
   34 | int __init of_ath5k_eeprom_probe(struct platform_device *pdev)
      |            ^~~~~~~~~~~~~~~~~~~~~
arch/mips/lantiq/xway/eth_mac.c:15:11: error: no previous prototype for 'ltq_get_eth_mac' [-Werror=missing-prototypes]
   15 | const u8* ltq_get_eth_mac(void)
      |           ^~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <[email protected]>
target/linux/lantiq/patches-6.6/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch