2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2016-11-28 20:06:24 +08:00
|
|
|
/*
|
|
|
|
* Intel PCH/PCU SPI flash driver.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2016, Intel Corporation
|
|
|
|
* Author: Mika Westerberg <mika.westerberg@linux.intel.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef INTEL_SPI_H
|
|
|
|
#define INTEL_SPI_H
|
|
|
|
|
|
|
|
#include <linux/platform_data/intel-spi.h>
|
|
|
|
|
|
|
|
struct intel_spi;
|
|
|
|
struct resource;
|
|
|
|
|
|
|
|
struct intel_spi *intel_spi_probe(struct device *dev,
|
|
|
|
struct resource *mem, const struct intel_spi_boardinfo *info);
|
|
|
|
int intel_spi_remove(struct intel_spi *ispi);
|
|
|
|
|
|
|
|
#endif /* INTEL_SPI_H */
|