diff --git a/subsys/sd/sd.c b/subsys/sd/sd.c index 839d1d1124f..494cf5cec8f 100644 --- a/subsys/sd/sd.c +++ b/subsys/sd/sd.c @@ -13,9 +13,7 @@ #include #include "sd_utils.h" -#include "sdmmc_priv.h" -#include "sdio_priv.h" - +#include "sd_init.h" LOG_MODULE_REGISTER(sd, CONFIG_SD_LOG_LEVEL); diff --git a/subsys/sd/sdmmc_priv.h b/subsys/sd/sd_init.h similarity index 51% rename from subsys/sd/sdmmc_priv.h rename to subsys/sd/sd_init.h index 90e45527b50..481f0183754 100644 --- a/subsys/sd/sdmmc_priv.h +++ b/subsys/sd/sd_init.h @@ -5,13 +5,14 @@ */ -#ifndef ZEPHYR_SUBSYS_SD_SDMMC_PRIV_H_ -#define ZEPHYR_SUBSYS_SD_SDMMC_PRIV_H_ +#ifndef ZEPHYR_SUBSYS_SD_INIT_PRIV_H_ +#define ZEPHYR_SUBSYS_SD_INIT_PRIV_H_ #include #include +int sdio_card_init(struct sd_card *card); + int sdmmc_card_init(struct sd_card *card); - -#endif /* ZEPHYR_SUBSYS_SD_SDMMC_PRIV_H_ */ +#endif /* ZEPHYR_SUBSYS_SD_INIT_PRIV_H_ */ diff --git a/subsys/sd/sdio_priv.h b/subsys/sd/sdio_priv.h deleted file mode 100644 index ce646d53054..00000000000 --- a/subsys/sd/sdio_priv.h +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright 2022 NXP - * - * SPDX-License-Identifier: Apache-2.0 - */ - - -#ifndef ZEPHYR_SUBSYS_SD_SDIO_PRIV_H_ -#define ZEPHYR_SUBSYS_SD_SDIO_PRIV_H_ - -#include -#include - -int sdio_card_init(struct sd_card *card); - -#endif /* ZEPHYR_SUBSYS_SD_SDIO_PRIV_H_ */