qede: Fix compilation without QED_RDMA
authorChad Dupuis <chad.dupuis@cavium.com>
Wed, 21 Jun 2017 05:26:34 +0000 (08:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jun 2017 15:33:47 +0000 (11:33 -0400)
commitda2e9cf03b8fccbb69dd1e215bb1e554ce8e8cbe
tree81048cc17d079c9821df23ef22e1e49379f2d9c4
parentb65c0c9b65a8fe2434bdc0a94e3767940f69aae9
qede: Fix compilation without QED_RDMA

When CONFIG_QED_RDMA isn't defined, we'd hit the following:

 /include/linux/qed/qede_rdma.h:84:19:
 warning: ‘qede_rdma_dev_add’ used but never defined [enabled by default]
 static inline int qede_rdma_dev_add(struct qede_dev *dev);

Fixes: bbfcd1e8e167 ("qed*: Set rdma generic functions prefix")
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/qed/qede_rdma.h