openwrt-6.x/target/linux/generic/files/drivers
Christian Marangi 473cfb4ff5
generic: fix kernel warning no previous prototype for ...
It seems new kernel version introduced -Wmissing-prototypes. This new
warning reported drivers that define non static function that are used
statically in the driver.

Fix this by declaring making those function actually static if not
defined in any header and not used outside of the single driver.

Co-authored-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18455
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-11 20:34:24 +02:00
..
bcma kernel: fallback-sprom: create separate header files 2024-12-08 13:32:46 +01:00
mtd kernel: nmbm: add mediatek,bmt-mtd-overridden-oobsize property 2025-02-07 09:04:35 +01:00
net/phy generic: fix kernel warning no previous prototype for ... 2025-04-11 20:34:24 +02:00
platform/mikrotik generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
ssb kernel: fallback-sprom: create separate header files 2024-12-08 13:32:46 +01:00