summaryrefslogtreecommitdiffstats
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2013-02-09 19:14:00 +0100
committerWolfram Sang <wolfram@the-dreams.de>2013-02-10 19:55:26 +0100
commit4182b434bf760355a1516b1d3d9f73aa419eeeec (patch)
tree1034d0fead72a3024547239dd9e878d7f5754829 /Documentation/i2c
parent13f35ac14cd0a9a1c4f0034c4c40d0ae98844ce9 (diff)
downloadlinux-stable-4182b434bf760355a1516b1d3d9f73aa419eeeec.tar.gz
linux-stable-4182b434bf760355a1516b1d3d9f73aa419eeeec.tar.bz2
linux-stable-4182b434bf760355a1516b1d3d9f73aa419eeeec.zip
i2c: at91: fix unsed variable warning when building with !CONFIG_OF
Commit 70d46a2 "i2c: at91: add dt support to i2c-at91" added DT only support for at91sam9x5. Building i2c-at91 without CONFIG_OF now warns about at91sam9x5_config as being unused. drivers/i2c/busses/i2c-at91.c:556:30: warning: 'at91sam9x5_config' defined but not used [-Wunused-variable] Move at91sam9x5_config under the defined(CONFIG_OF) guard as new AT91 SoCs will be DT only. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions