spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector()
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 19 Sep 2017 04:29:45 +0000 (13:29 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 29 Sep 2017 02:23:45 +0000 (11:23 +0900)
commitb016b585425b66ea53eef6b8600aff78a4205b9e
tree9777cfe38dae047fc0576a52eb0fb9713630e892
parent9f13021f81009449c869ea441620cdc77146dee8
spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector()

If there are no CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION,
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR and CONFIG_SPL_OS_BOOT,
there is unused-function build warning. Add __maybe_unused macro
to remove the warning.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
common/spl/spl_mmc.c