sd: Changed Init Header Structure
In sd subsystem, made one header for all the init functions instead of having a bunch of header files with one function. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
a838eef33b
commit
9fe18e05b4
3 changed files with 6 additions and 23 deletions
|
@ -13,9 +13,7 @@
|
||||||
#include <zephyr/sys/__assert.h>
|
#include <zephyr/sys/__assert.h>
|
||||||
|
|
||||||
#include "sd_utils.h"
|
#include "sd_utils.h"
|
||||||
#include "sdmmc_priv.h"
|
#include "sd_init.h"
|
||||||
#include "sdio_priv.h"
|
|
||||||
|
|
||||||
|
|
||||||
LOG_MODULE_REGISTER(sd, CONFIG_SD_LOG_LEVEL);
|
LOG_MODULE_REGISTER(sd, CONFIG_SD_LOG_LEVEL);
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef ZEPHYR_SUBSYS_SD_SDMMC_PRIV_H_
|
#ifndef ZEPHYR_SUBSYS_SD_INIT_PRIV_H_
|
||||||
#define ZEPHYR_SUBSYS_SD_SDMMC_PRIV_H_
|
#define ZEPHYR_SUBSYS_SD_INIT_PRIV_H_
|
||||||
|
|
||||||
#include <zephyr/kernel.h>
|
#include <zephyr/kernel.h>
|
||||||
#include <zephyr/sd/sd.h>
|
#include <zephyr/sd/sd.h>
|
||||||
|
|
||||||
|
int sdio_card_init(struct sd_card *card);
|
||||||
|
|
||||||
int sdmmc_card_init(struct sd_card *card);
|
int sdmmc_card_init(struct sd_card *card);
|
||||||
|
|
||||||
|
#endif /* ZEPHYR_SUBSYS_SD_INIT_PRIV_H_ */
|
||||||
#endif /* ZEPHYR_SUBSYS_SD_SDMMC_PRIV_H_ */
|
|
|
@ -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 <zephyr/zephyr.h>
|
|
||||||
#include <zephyr/sd/sd.h>
|
|
||||||
|
|
||||||
int sdio_card_init(struct sd_card *card);
|
|
||||||
|
|
||||||
#endif /* ZEPHYR_SUBSYS_SD_SDIO_PRIV_H_ */
|
|
Loading…
Add table
Add a link
Reference in a new issue