diff options
author | Arnd Bergmann <[email protected]> | 2016-02-23 15:06:37 +0100 |
---|---|---|
committer | Gregory CLEMENT <[email protected]> | 2016-02-25 15:37:16 +0100 |
commit | 993e221518a0425272dda85b73b27c827d4e5fad (patch) | |
tree | 2acbcba28440bc36792a2b2b3630d6567c2b2a78 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
ARM: orion: only select I2C_BOARDINFO when using I2C
If we select I2C_BOARDINFO and I2C is disabled, we get a
harmless Kconfig warning:
warning: (MACH_DOVE_DB && MACH_DB88F5281 && MACH_RD88F5182 && MACH_RD88F5182_DT && MACH_KUROBOX_PRO && MACH_DNS323 && MACH_LINKSTATION_PRO && MACH_LINKSTATION_LSCHL && MACH_LINKSTATION_LS_HGL && MACH_NET2BIG) selects I2C_BOARDINFO which has unmet direct dependencies (I2C)
Making the select itself conditional avoids the warning and
makes the kernel slightly smaller as the compiler will be
able to drop the unused board info.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Acked-by: Jason Cooper <[email protected]>
Signed-off-by: Gregory CLEMENT <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions