diff mbox

qede: fix typo in qede_rdma_dev_add declaration

Message ID 20170621220004.4073594-1-arnd@arndb.de
State New
Headers show

Commit Message

Arnd Bergmann June 21, 2017, 9:59 p.m. UTC
An extraneous semicolon crept in, causing a build failure:

In file included from /git/arm-soc/drivers/net/ethernet/qlogic/qede/qede.h:43:0,
                 from /git/arm-soc/drivers/net/ethernet/qlogic/qede/qede_main.c:63:
include/linux/qed/qede_rdma.h:85:1: error: expected identifier or '(' before '{' token

Fixes: bbfcd1e8e167 ("qed*: Set rdma generic functions prefix")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 include/linux/qed/qede_rdma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.9.0
diff mbox

Patch

diff --git a/include/linux/qed/qede_rdma.h b/include/linux/qed/qede_rdma.h
index 1348a16e5e4b..9904617a9730 100644
--- a/include/linux/qed/qede_rdma.h
+++ b/include/linux/qed/qede_rdma.h
@@ -81,7 +81,7 @@  void qede_rdma_dev_remove(struct qede_dev *dev);
 void qede_rdma_event_changeaddr(struct qede_dev *edr);
 
 #else
-static inline int qede_rdma_dev_add(struct qede_dev *dev);
+static inline int qede_rdma_dev_add(struct qede_dev *dev)
 {
 	return 0;
 }