summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ks7010/michael_mic.h
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2016-09-17 13:09:13 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-17 23:36:53 +0200
commit2751bc918e61a114704f2a6673d316a38878319d (patch)
tree6f24195980f0cffeaaa3661032d21ff4d3b278c9 /drivers/staging/ks7010/michael_mic.h
parent2296f5215fd32c371f51a20155f9719b2366b7bf (diff)
downloadop-kernel-dev-2751bc918e61a114704f2a6673d316a38878319d.zip
op-kernel-dev-2751bc918e61a114704f2a6673d316a38878319d.tar.gz
Staging: ks7010: Remove extern keyword from function declaration
Remove extern specifier from function declaration as they have it by default. Also move extern declaration from .c files to their respective header file 'ks_hostif.h'. Coccinelle was used to remove extern and other changes were done by hand. Script: @@ identifier func; type T; @@ - extern T func(...); Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/michael_mic.h')
-rw-r--r--drivers/staging/ks7010/michael_mic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/michael_mic.h b/drivers/staging/ks7010/michael_mic.h
index c7e4eb2..89f17d5 100644
--- a/drivers/staging/ks7010/michael_mic.h
+++ b/drivers/staging/ks7010/michael_mic.h
@@ -20,7 +20,6 @@ struct michel_mic_t {
uint8_t Result[8];
};
-extern
void MichaelMICFunction(struct michel_mic_t *Mic, uint8_t * Key,
uint8_t * Data, int Len, uint8_t priority,
uint8_t * Result);
OpenPOWER on IntegriCloud