NTB: switchtec: Export class symbol for use in upper layer driver
authorLogan Gunthorpe <logang@deltatee.com>
Thu, 3 Aug 2017 18:19:41 +0000 (12:19 -0600)
committerJon Mason <jdmason@kudzu.us>
Sun, 19 Nov 2017 01:37:11 +0000 (20:37 -0500)
commit302e994d3af7e4be8d0f789aa66422166ccd89c2
tree8dcba50ea02792ffbb19d64c5828316aa85bb081
parent5a1c269f15dc9f964f829d864ae8abebcaa3d3be
NTB: switchtec: Export class symbol for use in upper layer driver

We export the class pointer symbol and add an extern define in the
Switchtec header file.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Kurt Schwemmer <kurt.schwemmer@microsemi.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/pci/switch/switchtec.c
include/linux/switchtec.h