]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ltq-adsl-mei: fix 'inline' declaration warning
authorShiji Yang <yangshiji66@outlook.com>
Sat, 10 May 2025 09:19:19 +0000 (17:19 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 18 Oct 2025 12:21:02 +0000 (14:21 +0200)
commit6a54d623f2cfa5dfb5b8f758c8a7b543815e4784
tree79ac41f6aef07620bda18876f2be1933ff3bd0b8
parent5e196ba5489d5a612d9878816f1efc6e6d705530
ltq-adsl-mei: fix 'inline' declaration warning

Adjust the 'inline' declaration order to fix the build warning:

/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:188:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
  188 | static void inline MEI_MASK_AND_ACK_IRQ(int x)
      | ^~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
fix inline declaration warning

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18744
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 335a88df64694dd297a49a89fd38ac8d45c48079)
Signed-off-by: Nora Matthias Schiffer <neocturne@universe-factory.net>
Link: https://github.com/openwrt/openwrt/pull/20440
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c