1 // SPDX-License-Identifier: GPL-2.0
3 * Greybus SPI library header
5 * copyright 2016 google inc.
6 * copyright 2016 linaro ltd.
8 * released under the gplv2 only.
18 int (*prepare_transfer_hardware
)(struct device
*dev
);
19 void (*unprepare_transfer_hardware
)(struct device
*dev
);
22 int gb_spilib_master_init(struct gb_connection
*connection
,
23 struct device
*dev
, struct spilib_ops
*ops
);
24 void gb_spilib_master_exit(struct gb_connection
*connection
);
26 #endif /* __SPILIB_H */