linux-stable/drivers/staging/greybus/spilib.h
Greg Kroah-Hartman baeeb02ccd staging: greybus: fix up SPDX comment in .h files
When these files originally got an SPDX tag, I used // instead of /* */
for the .h files.  Fix this up to use // properly.

Cc: Johan Hovold <johan@kernel.org>
Cc: greybus-dev@lists.linaro.org
Cc: devel@driverdev.osuosl.org
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alex Elder <elder@kernel.org>
Link: https://lore.kernel.org/r/20190825055429.18547-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-27 19:02:18 +02:00

26 lines
588 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Greybus SPI library header
*
* copyright 2016 google inc.
* copyright 2016 linaro ltd.
*
* released under the gplv2 only.
*/
#ifndef __SPILIB_H
#define __SPILIB_H
struct device;
struct gb_connection;
struct spilib_ops {
int (*prepare_transfer_hardware)(struct device *dev);
void (*unprepare_transfer_hardware)(struct device *dev);
};
int gb_spilib_master_init(struct gb_connection *connection,
struct device *dev, struct spilib_ops *ops);
void gb_spilib_master_exit(struct gb_connection *connection);
#endif /* __SPILIB_H */