diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-10-27 15:33:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 18:03:07 -0700 |
commit | dc5ae4f2f58cfa98b67d2be379fc99080a8967af (patch) | |
tree | 8ef3cd48b98d21fc1a23b446d55769497c0c0667 /drivers/gpio | |
parent | 9ef8c8c51a7d76bae73e0259c356b24533b6b7c0 (diff) | |
download | lwn-dc5ae4f2f58cfa98b67d2be379fc99080a8967af.tar.gz lwn-dc5ae4f2f58cfa98b67d2be379fc99080a8967af.zip |
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 <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions