commit | f7d6b3cc1686f2fc6ea4c28590710c89bedd3a55 | [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 | 7a777f6d6f358b8ab97baae82be03ab704d1bd1c [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>