linux/drivers/mtd/spi-nor/controllers/intel-spi.h
<<
>>
Prefs
   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/x86/intel-spi.h>
  13
  14struct intel_spi;
  15struct resource;
  16
  17struct intel_spi *intel_spi_probe(struct device *dev,
  18        struct resource *mem, const struct intel_spi_boardinfo *info);
  19int intel_spi_remove(struct intel_spi *ispi);
  20
  21#endif /* INTEL_SPI_H */
  22