mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
0a72dde534
PD#SWPL-149484 Problem: spinand have not support in linux-6.6 Solution: support it Verify: BA409-A113L2_SOCKET #10 Change-Id: If0a4725b41213f88db49988e56dc36fa45374630 Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
38 lines
870 B
C
38 lines
870 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _SPI_MODULE_H__
|
|
#define _SPI_MODULE_H__
|
|
|
|
#ifdef MODULE
|
|
|
|
#ifdef CONFIG_AMLOGIC_SPI_MESON_SPICC
|
|
extern struct platform_driver meson_spicc_driver;
|
|
#endif
|
|
|
|
#ifdef CONFIG_AMLOGIC_SPI_MESON_SPICC_V2
|
|
extern struct platform_driver meson_spicc_v2_driver;
|
|
#endif
|
|
|
|
#ifdef CONFIG_AMLOGIC_SPI_MESON_SPIFC
|
|
extern struct platform_driver meson_spifc_driver;
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_SPI_MESON_SPIFC_V2)
|
|
extern struct platform_driver meson_spifc_v2_driver;
|
|
#endif
|
|
|
|
#ifdef CONFIG_AMLOGIC_SPI_MESON_SPICC_SLAVE
|
|
extern struct platform_driver sspicc_driver;
|
|
int __init vmem_init(void);
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_SPI_NFC)
|
|
extern struct platform_driver spi_nfc_driver;
|
|
#endif
|
|
|
|
#endif /* end of ifdef MODULE */
|
|
#endif /* end of _SPI_MODULE_H__ */
|