Linux 4.16.11
[linux/fpc-iii.git] / drivers / mtd / spi-nor / intel-spi.h
blob5ab7dc250050646e4fdeaf22753c377ad5328518
1 /*
2 * Intel PCH/PCU SPI flash driver.
4 * Copyright (C) 2016, Intel Corporation
5 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
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.
12 #ifndef INTEL_SPI_H
13 #define INTEL_SPI_H
15 #include <linux/platform_data/intel-spi.h>
17 struct intel_spi;
18 struct resource;
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);
24 #endif /* INTEL_SPI_H */