]> err.no Git - linux-2.6/commitdiff
[MFD] Fix gcc4 build errors in ucb1x00-core.c
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 6 Oct 2005 12:09:42 +0000 (13:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 6 Oct 2005 12:09:42 +0000 (13:09 +0100)
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>
drivers/mfd/ucb1x00-core.c
drivers/mfd/ucb1x00.h

index 10f6ce1bc0abc0272cd320d52847cd77c6eb4255..612564ac6f7b45056c944987064270b12208f86e 100644 (file)
@@ -642,8 +642,6 @@ static void __exit ucb1x00_exit(void)
 module_init(ucb1x00_init);
 module_exit(ucb1x00_exit);
 
-EXPORT_SYMBOL(ucb1x00_class);
-
 EXPORT_SYMBOL(ucb1x00_io_set_dir);
 EXPORT_SYMBOL(ucb1x00_io_write);
 EXPORT_SYMBOL(ucb1x00_io_read);
index 6b632644f59a1b1a7c6eb297f24e90389c3567a9..9c9a647d8b7b696fb114786c1b08716727659a54 100644 (file)
@@ -106,8 +106,6 @@ struct ucb1x00_irq {
        void (*fn)(int, void *);
 };
 
-extern struct class ucb1x00_class;
-
 struct ucb1x00 {
        spinlock_t              lock;
        struct mcp              *mcp;