From: Michael Hennerich Date: Wed, 27 Oct 2010 22:33:20 +0000 (-0700) Subject: gpio: adp5588-gpio: add i2c forward declaration X-Git-Tag: v2.6.37-rc1~85^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5ae4f2f58cfa98b67d2be379fc99080a8967af;p=pandora-kernel.git gpio: adp5588-gpio: add i2c forward declaration Some ADP5588 functions take a pointer to an i2c_client, but if the i2c header doesn't happen to be included first, we hit the standard "struct declared inside parameter list" warnings from gcc. So add a simple forward decl of the i2c_client struct. Signed-off-by: Michael Hennerich Signed-off-by: Mike Frysinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed