diff mbox

[08/17] mthca: mark symbols static where possible

Message ID 1476388576-22863-9-git-send-email-hch@lst.de (mailing list archive)
State Accepted
Headers show

Commit Message

Christoph Hellwig Oct. 13, 2016, 7:56 p.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 providers/mthca/mthca.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/providers/mthca/mthca.c b/providers/mthca/mthca.c
index d5660ce..4103a3a 100644
--- a/providers/mthca/mthca.c
+++ b/providers/mthca/mthca.c
@@ -77,7 +77,7 @@ 
 	  .device = PCI_DEVICE_ID_MELLANOX_##d,		\
 	  .type = MTHCA_##t }
 
-struct {
+static struct {
 	unsigned		vendor;
 	unsigned		device;
 	enum mthca_hca_type	type;