xref: /linux/drivers/spi/spi-intel.h (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Intel PCH/PCU SPI flash driver.
4  *
5  * Copyright (C) 2016 - 2022, Intel Corporation
6  * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
7  */
8 
9 #ifndef SPI_INTEL_H
10 #define SPI_INTEL_H
11 
12 #include <linux/platform_data/x86/spi-intel.h>
13 
14 struct resource;
15 
16 extern const struct attribute_group *intel_spi_groups[];
17 
18 int intel_spi_probe(struct device *dev, struct resource *mem,
19 		    const struct intel_spi_boardinfo *info);
20 
21 #endif /* SPI_INTEL_H */
22