]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mv64xxx: Fix some build warnings
authorThierry Reding <thierry.reding@gmail.com>
Wed, 18 Sep 2013 12:50:52 +0000 (14:50 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 Sep 2013 16:12:30 +0000 (18:12 +0200)
commit0236b5798ac7d8bcdccc46cbc10c0146bd24c793
treeda7234c5f319259a9b01c34be9e53c76ed4483cd
parent695c9b61bb8be638d370a3def96532bd264ce619
i2c: mv64xxx: Fix some build warnings

Some functions and variables are only used if the configuration selects
HAVE_CLK. Protect them with a corresponding #ifdef CONFIG_HAVE_CLK block
to avoid compiler warnings.

Signed-off-by: Thierry Reding <treding@nvidia.com>
[wsa: added marker to #endif]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mv64xxx.c