Android: Fix build breakages.
[firefly-linux-kernel-4.4.55.git] / include / linux / mmc / host.h
index e4862f7cdede8080acc6f1ae5c81f8183572a2ee..97b2b0b1f99de03af7c6c7f56afc554fcca4aefd 100644 (file)
@@ -380,8 +380,10 @@ struct mmc_host {
        } embedded_sdio_data;
 #endif
 
+#ifdef CONFIG_BLOCK
        int                     latency_hist_enabled;
        struct io_latency_state io_lat_s;
+#endif
 
        unsigned long           private[0] ____cacheline_aligned;
 };