mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 16:09:44 +01:00
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 335a88df64)
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>
This commit is contained in:
parent
5e196ba548
commit
6a54d623f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue