NTB: switchtec: Move structure definitions into a common header
authorLogan Gunthorpe <[email protected]>
Thu, 3 Aug 2017 18:19:40 +0000 (12:19 -0600)
committerJon Mason <[email protected]>
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 <[email protected]>
Reviewed-by: Stephen Bates <[email protected]>
Reviewed-by: Kurt Schwemmer <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
MAINTAINERS
drivers/pci/switch/switchtec.c
include/linux/switchtec.h [new file with mode: 0644]