osmith submitted this change.
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(-)
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;
To view, visit change 39592. To unsubscribe, or for help writing mail filters, visit settings.