Re: [PATCH] i2c: mv64xxx: Fix some build warnings

2013-09-23 Thread Wolfram Sang
On Wed, Sep 18, 2013 at 02:50:52PM +0200, Thierry Reding wrote: > 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 Added marker to

Re: [PATCH] i2c: mv64xxx: Fix some build warnings

2013-09-23 Thread Wolfram Sang
On Wed, Sep 18, 2013 at 02:50:52PM +0200, Thierry Reding wrote: 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 tred...@nvidia.com Added

[PATCH] i2c: mv64xxx: Fix some build warnings

2013-09-18 Thread Thierry Reding
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 --- drivers/i2c/busses/i2c-mv64xxx.c | 12 +++- 1 file changed, 7 insertions(+), 5

[PATCH] i2c: mv64xxx: Fix some build warnings

2013-09-18 Thread Thierry Reding
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 tred...@nvidia.com --- drivers/i2c/busses/i2c-mv64xxx.c | 12 +++- 1 file changed, 7