osmith has submitted this change. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39592?usp=email )
Change subject: drivers/dahdi/wct4xxp: fix inline not at beginning ......................................................................
drivers/dahdi/wct4xxp: fix inline not at beginning
Fix for this error with current linux master:
wct4xxp/base.c:1157:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration] 1157 | static void inline t4_hdlc_xmit_fifo(struct t4 *wc, unsigned int span, struct t4_span *ts) | ^~~~~~
Change-Id: Ic77d94271e7844ea2e06ccd001156d90f321367e --- M drivers/dahdi/wct4xxp/base.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: pespin: Looks good to me, approved osmith: Verified laforge: Looks good to me, but someone else must approve
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c index 9d5b9a9..c61c7a7 100644 --- a/drivers/dahdi/wct4xxp/base.c +++ b/drivers/dahdi/wct4xxp/base.c @@ -1154,7 +1154,7 @@ return 0; }
-static void inline t4_hdlc_xmit_fifo(struct t4 *wc, unsigned int span, struct t4_span *ts) +static inline void t4_hdlc_xmit_fifo(struct t4 *wc, unsigned int span, struct t4_span *ts) { int res, i; unsigned int size = 32;