diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2017-08-03 12:19:41 -0600 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2017-11-18 20:37:11 -0500 |
commit | 302e994d3af7e4be8d0f789aa66422166ccd89c2 (patch) | |
tree | 8dcba50ea02792ffbb19d64c5828316aa85bb081 /include/linux/switchtec.h | |
parent | 5a1c269f15dc9f964f829d864ae8abebcaa3d3be (diff) |
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>
Diffstat (limited to 'include/linux/switchtec.h')
-rw-r--r-- | include/linux/switchtec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h index 1cbd0e63b0ab..18e388101855 100644 --- a/include/linux/switchtec.h +++ b/include/linux/switchtec.h @@ -276,4 +276,6 @@ static inline struct switchtec_dev *to_stdev(struct device *dev) return container_of(dev, struct switchtec_dev, dev); } +extern struct class *switchtec_class; + #endif |