projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f2c18
)
staging: olpc_dcon: Remove unnecessary externs
author
Joe Perches
<joe@perches.com>
Mon, 10 Aug 2015 21:51:27 +0000
(14:51 -0700)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/olpc_dcon/olpc_dcon.h
b/drivers/staging/olpc_dcon/olpc_dcon.h
index aec98958f795bf56f1c77985887ce53e6eeafb15..d06e19db1b80c242a97c7ba71a4cb5dec745e37c 100644
(file)
--- a/
drivers/staging/olpc_dcon/olpc_dcon.h
+++ b/
drivers/staging/olpc_dcon/olpc_dcon.h
@@
-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;