Tag: ffedbd2210f2f4cba490a9205adc11fd1b89a852

mmc: pwrseq: constify mmc_pwrseq_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The mmc_pwrseq_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Ulf Hansson — drivers/mmc/core/pwrseq.h | 2 +- drivers/mmc/core/pwrseq_emmc.c | 2 +- drivers/mmc/core/pwrseq_simple.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)   diff –git a/drivers/mmc/core/pwrseq.h b/drivers/mmc/core/pwrseq.h index 096da48..133de04 100644 …

Continue reading