]> asedeno.scripts.mit.edu Git - linux.git/blob - drivers/mtd/spi-nor/intel-spi.h
Linux 5.6-rc7
[linux.git] / drivers / mtd / spi-nor / intel-spi.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Intel PCH/PCU SPI flash driver.
4  *
5  * Copyright (C) 2016, Intel Corporation
6  * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
7  */
8
9 #ifndef INTEL_SPI_H
10 #define INTEL_SPI_H
11
12 #include <linux/platform_data/intel-spi.h>
13
14 struct intel_spi;
15 struct resource;
16
17 struct intel_spi *intel_spi_probe(struct device *dev,
18         struct resource *mem, const struct intel_spi_boardinfo *info);
19 int intel_spi_remove(struct intel_spi *ispi);
20
21 #endif /* INTEL_SPI_H */