]> git.ipfire.org Git - thirdparty/openwrt.git/commit
generic: net: phy: psb6970: fix missing-prototypes warnings 19174/head
authorShiji Yang <yangshiji66@outlook.com>
Thu, 8 May 2025 13:20:22 +0000 (21:20 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 18 Jun 2025 18:23:20 +0000 (20:23 +0200)
commit8e1d58a596e22d2e148dcd351e70ad28723c01ae
treeefef51884ca2a766db6229138ee8d46bd15b53d8
parent042afe1f3df558ce3ec4584d3999ef7b56e38a8a
generic: net: phy: psb6970: fix missing-prototypes warnings

Fix the following build warnings on 6.12 kernel:

drivers/net/phy/psb6970.c:426:12: error: no previous prototype for 'psb6970_init' [-Werror=missing-prototypes]
  426 | int __init psb6970_init(void)
      |            ^~~~~~~~~~~~
drivers/net/phy/psb6970.c:434:13: error: no previous prototype for 'psb6970_exit' [-Werror=missing-prototypes]
  434 | void __exit psb6970_exit(void)
      |             ^~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19174
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/files/drivers/net/phy/psb6970.c