mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
Fix const-correctness issue in sdmmc.h
This commit is contained in:
parent
17545ac103
commit
68eec056a9
2 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* Fusée SD/MMC driver for the Switch
|
* Fusée SD/MMC driver for the Switch
|
||||||
* ~ktemkin
|
* ~ktemkin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __FUSEE_SDMMC_H__
|
#ifndef __FUSEE_SDMMC_H__
|
||||||
|
@ -130,7 +130,7 @@ struct mmc {
|
||||||
enum sdmmc_controller controller;
|
enum sdmmc_controller controller;
|
||||||
|
|
||||||
/* Controller properties */
|
/* Controller properties */
|
||||||
char *name;
|
const char *name;
|
||||||
bool use_dma;
|
bool use_dma;
|
||||||
unsigned int timeout;
|
unsigned int timeout;
|
||||||
enum tegra_named_gpio card_detect_gpio;
|
enum tegra_named_gpio card_detect_gpio;
|
||||||
|
@ -145,7 +145,7 @@ struct mmc {
|
||||||
/* Per-card-type operations */
|
/* Per-card-type operations */
|
||||||
int (*card_init)(struct mmc *mmc);
|
int (*card_init)(struct mmc *mmc);
|
||||||
int (*establish_relative_address)(struct mmc *mmc);
|
int (*establish_relative_address)(struct mmc *mmc);
|
||||||
int (*switch_mode)(struct mmc *mmc, enum sdmmc_switch_access_mode mode,
|
int (*switch_mode)(struct mmc *mmc, enum sdmmc_switch_access_mode mode,
|
||||||
enum sdmmc_switch_field field, uint16_t value, uint32_t timeout);
|
enum sdmmc_switch_field field, uint16_t value, uint32_t timeout);
|
||||||
|
|
||||||
/* Card properties */
|
/* Card properties */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* Fusée SD/MMC driver for the Switch
|
* Fusée SD/MMC driver for the Switch
|
||||||
* ~ktemkin
|
* ~ktemkin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __FUSEE_SDMMC_H__
|
#ifndef __FUSEE_SDMMC_H__
|
||||||
|
@ -79,7 +79,7 @@ struct mmc {
|
||||||
enum sdmmc_controller controller;
|
enum sdmmc_controller controller;
|
||||||
|
|
||||||
/* Controller properties */
|
/* Controller properties */
|
||||||
char *name;
|
const char *name;
|
||||||
unsigned int timeout;
|
unsigned int timeout;
|
||||||
enum sdmmc_card_type card_type;
|
enum sdmmc_card_type card_type;
|
||||||
bool use_dma;
|
bool use_dma;
|
||||||
|
|
Loading…
Reference in a new issue