mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 09:26:36 +07:00
2874c5fd28
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3029 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
700 B
C
26 lines
700 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* board-specific data for the libertas_spi driver.
|
|
*
|
|
* Copyright 2008 Analog Devices Inc.
|
|
*/
|
|
#ifndef _LIBERTAS_SPI_H_
|
|
#define _LIBERTAS_SPI_H_
|
|
|
|
struct spi_device;
|
|
|
|
struct libertas_spi_platform_data {
|
|
/* There are two ways to read data from the WLAN module's SPI
|
|
* interface. Setting 0 or 1 here controls which one is used.
|
|
*
|
|
* Usually you want to set use_dummy_writes = 1.
|
|
* However, if that doesn't work or if you are using a slow SPI clock
|
|
* speed, you may want to use 0 here. */
|
|
u16 use_dummy_writes;
|
|
|
|
/* Board specific setup/teardown */
|
|
int (*setup)(struct spi_device *spi);
|
|
int (*teardown)(struct spi_device *spi);
|
|
};
|
|
#endif
|