summaryrefslogtreecommitdiff
path: root/include/asm-generic/global_data.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-07-28 18:51:16 -0400
committerTom Rini <[email protected]>2021-07-28 18:51:16 -0400
commitbbcacdf4cd23f2e5deb9ef916096c956c955243d (patch)
tree3065b9346139a0f30bc3f9e77f1ee27e8fba3fdd /include/asm-generic/global_data.h
parent22ecb12132a2de80a08654f139ff978176034c38 (diff)
parent537892065ac1428a48193d4b0fa7bf827e8d0d44 (diff)
Merge branch '2021-07-28-build-improvements'
- Assorted Makefile cleanups - A few code / build cleanups
Diffstat (limited to 'include/asm-generic/global_data.h')
-rw-r--r--include/asm-generic/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 5fed4db23f1..e55070303fe 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -277,7 +277,7 @@ struct global_data {
*/
void *trace_buff;
#endif
-#if defined(CONFIG_SYS_I2C)
+#if defined(CONFIG_SYS_I2C_LEGACY)
/**
* @cur_i2c_bus: currently used I2C bus
*/