summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor/intel-spi.h
blob: 5ab7dc250050646e4fdeaf22753c377ad5328518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Intel PCH/PCU SPI flash driver.
 *
 * Copyright (C) 2016, Intel Corporation
 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#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 */
OpenPOWER on IntegriCloud