diff options
| author | Shiji Yang | 2025-05-10 09:19:19 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-05-13 20:02:20 +0000 |
| commit | 335a88df64694dd297a49a89fd38ac8d45c48079 (patch) | |
| tree | e441186c738923ec220ad6d56724dc13db65ed16 | |
| parent | fb4aa6248f4264b75997ecae5b6d7feb3f8c0fab (diff) | |
| download | openwrt-335a88df64694dd297a49a89fd38ac8d45c48079.tar.gz | |
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>
| -rw-r--r-- | package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c b/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c index 8c976565a0..19d4007ab9 100644 --- a/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c +++ b/package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c @@ -185,7 +185,7 @@ static void *g_xdata_addr = NULL; static u32 *mei_arc_swap_buff = NULL; // holding swap pages extern void ltq_mask_and_ack_irq(struct irq_data *d); -static void inline MEI_MASK_AND_ACK_IRQ(int x) +static inline void MEI_MASK_AND_ACK_IRQ(int x) { struct irq_data d; d.hwirq = x; |