commit | b9b3a2331d05279cf3c30778a0537548f3733b90 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Thu Oct 15 22:04:06 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Oct 20 22:48:28 2015 +0200 |
tree | 6726287ea11182a28299bc23b81484cb9d6663f8 | |
parent | 4f78074a272e76878c3fd98eb810d3b2d199e163 [diff] |
sunxi: board: Only try to use the MMC related functions if enabled So far, even if CONFIG_MMC was not enabled the board code was trying to use the MMC-related functions, resulting in linker errors. Protect those calls by an ifdef. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>