diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-15 22:04:06 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-10-20 22:48:28 +0200 |
commit | f7d6b3cc1686f2fc6ea4c28590710c89bedd3a55 (patch) | |
tree | 6726287ea11182a28299bc23b81484cb9d6663f8 /include/lxt971a.h | |
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>
Diffstat (limited to 'include/lxt971a.h')
0 files changed, 0 insertions, 0 deletions