aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/core/slot-gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/slot-gpio.c b/drivers/mmc/core/slot-gpio.c
index be79c62611c..804df226406 100644
--- a/drivers/mmc/core/slot-gpio.c
+++ b/drivers/mmc/core/slot-gpio.c
@@ -21,8 +21,8 @@ struct mmc_gpio {
int ro_gpio;
int cd_gpio;
char *ro_label;
- char cd_label[0];
bool status;
+ char cd_label[0]; /* Must be last entry */
};
static int mmc_gpio_get_status(struct mmc_host *host)