| commit | c5d5474425c4e7e291a98e739ea65f8acd0d8d5c | [log] [tgz] |
|---|---|---|
| author | Andreas Larsson <andreas@gaisler.com> | Mon Nov 19 13:17:48 2012 +0100 |
| committer | Wolfram Sang <w.sang@pengutronix.de> | Thu Nov 22 22:34:35 2012 +0100 |
| tree | 113d89b36e91c14b2405e1c3f4e38c52b608cfa1 | |
| parent | 658122fe5e3a72940631ceda3efcb841054d91dc [diff] |
i2c: ocores: Move grlib set/get functions into #ifdef CONFIG_OF block 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>