staging: olpc_dcon: Remove unnecessary externs
authorJoe Perches <joe@perches.com>
Mon, 10 Aug 2015 21:51:27 +0000 (14:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 00:38:15 +0000 (17:38 -0700)
Using 'extern' is not necessary for function prototypes.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/olpc_dcon.h

index aec98958f795bf56f1c77985887ce53e6eeafb15..d06e19db1b80c242a97c7ba71a4cb5dec745e37c 100644 (file)
@@ -98,7 +98,7 @@ struct dcon_platform_data {
 
 #include <linux/interrupt.h>
 
-extern irqreturn_t dcon_interrupt(int irq, void *id);
+irqreturn_t dcon_interrupt(int irq, void *id);
 
 #ifdef CONFIG_FB_OLPC_DCON_1
 extern struct dcon_platform_data dcon_pdata_xo_1;