• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * mmc_adapter.c
3  *
4  * linux mmc driver implement.
5  *
6  * Copyright (c) 2022 Huawei Device Co., Ltd.
7  *
8  * This software is licensed under the terms of the GNU General Public
9  * License version 2, as published by the Free Software Foundation, and
10  * may be copied, distributed, and modified under those terms.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  */
18 
19 #include <linux/mmc/host.h>
20 #include "hdf_base.h"
21 #include "hdf_log.h"
22 
23 #define HDF_LOG_TAG mmc_adapter_c
24 
GetMmcHost(int32_t slot)25 struct mmc_host *GetMmcHost(int32_t slot)
26 {
27     (void)slot;
28     HDF_LOGE("Vendor need to adapter GetMmcHost");
29     return NULL;
30 }
31 
SdioRescan(int32_t slot)32 void SdioRescan(int32_t slot)
33 {
34     (void)slot;
35     HDF_LOGE("Vendor need to adapter SdioRescan");
36     return;
37 }
38