summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-12-01 01:06:32 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2016-12-01 04:51:08 (GMT)
commitce9eca9438d69306441060e7ac90e45d47882f34 (patch)
tree96813db2cd9ec1d78b644c24d766b7ceba24b419 /include
parentcd3d48807dfb64f521fcbc30034d4e921d842a5b (diff)
downloadu-boot-fsl-qoriq-ce9eca9438d69306441060e7ac90e45d47882f34.tar.xz
mmc: Fix warning if debug() is not used
If debug() is not used, then the whole content of debug(...) will be removed by the preprocessor, which will result in the following warning. This patch adds __maybe_unused annotation to fix this. drivers/mmc/mmc.c: In function ‘mmc_init’: drivers/mmc/mmc.c:1685:11: warning: variable ‘start’ set but not used [-Wunused-but-set-variable] unsigned start; Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions