intel-spi.h 649 B

12345678910111213141516171819202122232425
  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. #ifndef INTEL_SPI_H
  12. #define INTEL_SPI_H
  13. #include <linux/platform_data/intel-spi.h>
  14. struct intel_spi;
  15. struct resource;
  16. struct intel_spi *intel_spi_probe(struct device *dev,
  17. struct resource *mem, const struct intel_spi_boardinfo *info);
  18. int intel_spi_remove(struct intel_spi *ispi);
  19. #endif /* INTEL_SPI_H */