i2c: ocores: Move grlib set/get functions into #ifdef CONFIG_OF block
authorAndreas Larsson <andreas@gaisler.com>
Mon, 19 Nov 2012 12:17:48 +0000 (13:17 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Thu, 22 Nov 2012 21:34:35 +0000 (22:34 +0100)
This moves the grlib set and get functions into the #ifdef CONFIG_OF block to
avoid warnings of unimplemented functions when compiling with -Wunused-function
when CONFIG_OF is not defined.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>

No differences found