diff options
| author | Mohan Srinivasan <srmohan@google.com> | 2016-10-03 16:17:34 -0700 |
|---|---|---|
| committer | Mohan Srinivasan <srmohan@google.com> | 2016-10-04 21:17:25 +0000 |
| commit | 8fd31d5a2c06726a6060ea355bb5c90d44b132c4 (patch) | |
| tree | 76a9c62764ffaa6e43a0c5546a73cd27e6197218 /include | |
| parent | a92cff09551d9ef0605af1cf6a7d9ee087d036c3 (diff) | |
Fix a build breakage in IO latency hist code.
Fix a build breakage where MMC is enabled, but BLOCK is not.
Change-Id: I0eb422d12264f0371f3368ae7c37342ef9efabaa
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mmc/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index 3349f0676acb..0860efd6e1be 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h @@ -137,7 +137,9 @@ struct mmc_request { void (*done)(struct mmc_request *);/* completion function */ struct mmc_host *host; ktime_t io_start; +#ifdef CONFIG_BLOCK int lat_hist_enabled; +#endif }; struct mmc_card; |
