/* SPDX-License-Identifier: GPL-2.0-only */ /* * Common bus abstraction layer. * * Copyright (c) 2017-2020, Silicon Laboratories, Inc. * Copyright (c) 2010, ST-Ericsson */ #ifndef WFX_BUS_H #define WFX_BUS_H #include <linux/mmc/sdio_func.h> #include <linux/spi/spi.h> #define WFX_REG_CONFIG … #define WFX_REG_CONTROL … #define WFX_REG_IN_OUT_QUEUE … #define WFX_REG_AHB_DPORT … #define WFX_REG_BASE_ADDR … #define WFX_REG_SRAM_DPORT … #define WFX_REG_SET_GEN_R_W … #define WFX_REG_FRAME_OUT … struct wfx_hwbus_ops { … }; extern struct sdio_driver wfx_sdio_driver; extern struct spi_driver wfx_spi_driver; #endif