fsi: Move fsi_slave structure definition to header
authorEddie James <eajames@linux.ibm.com>
Mon, 12 Jun 2023 19:56:44 +0000 (14:56 -0500)
committerJoel Stanley <joel@jms.id.au>
Wed, 9 Aug 2023 06:11:59 +0000 (15:41 +0930)
commitd5d8dfb01e1041836cef4d2d69b1c1c991c850fb
tree8c666d6f499e6cd2affc9a39db61427cab1ccef8
parent23ad7ec1ed79b270a63004f43a301591647f65e8
fsi: Move fsi_slave structure definition to header

Some FSI drivers may have need of the slave definition, so
move it to a header file. Also use one macro for obtaining a
pointer to the fsi_master structure.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230612195657.245125-2-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-core.c
drivers/fsi/fsi-master-aspeed.c
drivers/fsi/fsi-master-ast-cf.c
drivers/fsi/fsi-master-gpio.c
drivers/fsi/fsi-master-hub.c
drivers/fsi/fsi-master.h
drivers/fsi/fsi-slave.h [new file with mode: 0644]