Linux-libre 5.0.10-gnu
[librecmc/linux-libre.git] / drivers / mtd / spi-nor / intel-spi.h
1 /*
2  * Intel PCH/PCU SPI flash driver.
3  *
4  * Copyright (C) 2016, Intel Corporation
5  * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11
12 #ifndef INTEL_SPI_H
13 #define INTEL_SPI_H
14
15 #include <linux/platform_data/intel-spi.h>
16
17 struct intel_spi;
18 struct resource;
19
20 struct intel_spi *intel_spi_probe(struct device *dev,
21         struct resource *mem, const struct intel_spi_boardinfo *info);
22 int intel_spi_remove(struct intel_spi *ispi);
23
24 #endif /* INTEL_SPI_H */