diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2011-08-19 15:08:06 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:59:36 -0700 |
commit | b124fd0733f61faef826f440645da9b386930e3e (patch) | |
tree | 8b9db4c48322c0f72629a9bff205ac93957aabb2 /lib | |
parent | 4ece311f73d912affcf6c0471d836147eadb3167 (diff) |
Only include mmc.h when mmc is enabled.
From http://gerrit.chromium.org/gerrit/#change,6253
BUG=none
TEST=none
Change-Id: I3145aa84a8426506d8dc44d094da4884f079b3b4
Reviewed-on: http://gerrit.chromium.org/gerrit/6355
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vbexport/boot_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vbexport/boot_device.c b/lib/vbexport/boot_device.c index b26ce46b257..adb67e3253c 100644 --- a/lib/vbexport/boot_device.c +++ b/lib/vbexport/boot_device.c @@ -9,7 +9,9 @@ */ #include <common.h> +#ifdef CONFIG_MMC #include <mmc.h> +#endif #include <part.h> #include <usb.h> #include <chromeos/common.h> |