NTB: switchtec: Move structure definitions into a common header
authorLogan Gunthorpe <logang@deltatee.com>
Thu, 3 Aug 2017 18:19:40 +0000 (12:19 -0600)
committerJon Mason <jdmason@kudzu.us>
Sun, 19 Nov 2017 01:37:11 +0000 (20:37 -0500)
commit5a1c269f15dc9f964f829d864ae8abebcaa3d3be
tree28b4eb917e8b993164d2c979853b58011172cff4
parentc0ef166cb2882538f85116d9811fb5a4b07e68d9
NTB: switchtec: Move structure definitions into a common header

Create the switchtec.h header in include/linux with hardware defines
and the switchtec_dev structure. Both moved directly from switchtec.c.
This is a prep patch for creating an NTB driver for Switchtec.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
MAINTAINERS
drivers/pci/switch/switchtec.c
include/linux/switchtec.h [new file with mode: 0644]