diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-10-06 14:09:42 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-06 14:09:42 +0200 |
commit | a448a28589a6640736b8af1f2f57616c10bb37d5 (patch) | |
tree | 981b569982b0d0cc58db00b066e1f74d4941138a /drivers/mfd/ucb1x00.h | |
parent | [PATCH] Fix drm 'debug' sysfs permissions (diff) | |
download | linux-a448a28589a6640736b8af1f2f57616c10bb37d5.tar.xz linux-a448a28589a6640736b8af1f2f57616c10bb37d5.zip |
[MFD] Fix gcc4 build errors in ucb1x00-core.c
drivers/mfd/ucb1x00-core.c:555: error: static declaration of 'ucb1x00_class' follows non-static declaration
drivers/mfd/ucb1x00.h:109: error: previous declaration of 'ucb1x00_class' was here
Since ucb1x00_class isn't used by anything, remove the extern
declaration and the symbol export.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mfd/ucb1x00.h')
-rw-r--r-- | drivers/mfd/ucb1x00.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/ucb1x00.h b/drivers/mfd/ucb1x00.h index 6b632644f59a..9c9a647d8b7b 100644 --- a/drivers/mfd/ucb1x00.h +++ b/drivers/mfd/ucb1x00.h @@ -106,8 +106,6 @@ struct ucb1x00_irq { void (*fn)(int, void *); }; -extern struct class ucb1x00_class; - struct ucb1x00 { spinlock_t lock; struct mcp *mcp; |