From: Andreas Larsson Date: Mon, 19 Nov 2012 12:17:48 +0000 (+0100) Subject: i2c: ocores: Move grlib set/get functions into #ifdef CONFIG_OF block X-Git-Tag: v3.8-rc1~54^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5d5474425c4e7e291a98e739ea65f8acd0d8d5c;p=pandora-kernel.git 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 Acked-by: Peter Korsgaard Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed