osmith submitted this change.

View Change

Approvals: pespin: Looks good to me, approved osmith: Verified laforge: Looks good to me, but someone else must approve
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.

Gerrit-MessageType: merged
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ic77d94271e7844ea2e06ccd001156d90f321367e
Gerrit-Change-Number: 39592
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>