projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01674da
)
SFI: remove __init from sfi_verify_table
author
Arjan van de Ven
<arjan@infradead.org>
Fri, 2 Oct 2009 14:29:47 +0000
(07:29 -0700)
committer
Len Brown
<len.brown@intel.com>
Sat, 3 Oct 2009 05:16:12 +0000
(
01:16
-0400)
sfi_verify_table() is called at runtime, and thus cannot be __init
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/sfi/sfi_core.c
patch
|
blob
|
history
diff --git
a/drivers/sfi/sfi_core.c
b/drivers/sfi/sfi_core.c
index
251da22
..
b204a09
100644
(file)
--- a/
drivers/sfi/sfi_core.c
+++ b/
drivers/sfi/sfi_core.c
@@
-129,7
+129,7
@@
static void sfi_print_table_header(unsigned long long pa,
* sfi_verify_table()
* Sanity check table lengh, calculate checksum
*/
-static
__init
int sfi_verify_table(struct sfi_table_header *table)
+static int sfi_verify_table(struct sfi_table_header *table)
{
u8 checksum = 0;