mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
eb50fd3a22
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Update the drivers/staging/greybus files files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Vaibhav Hiremath <hvaibhav.linux@gmail.com> Cc: "Bryan O'Donoghue" <pure.logic@nexus-software.ie> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com> Acked-by: Vaibhav Agarwal <vaibhav.sr@gmail.com> Acked-by: David Lin <dtwlin@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org> Acked-by: Johan Hovold <johan@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Mark Greer <mgreer@animalcreek.com> Acked-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
585 B
C
26 lines
585 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 */
|