]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitc1a99467804767400752a4087d3e96af2759a046
treeda7234c5f319259a9b01c34be9e53c76ed4483cd
parent153369139a06462c310b607e612093074c73b382
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