summaryrefslogtreecommitdiffstats
path: root/drivers/sfi
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2009-10-02 16:29:47 +0200
committerLen Brown <len.brown@intel.com>2009-10-03 07:16:12 +0200
commit011a606d0670196c17110b6770e39cc0865aa614 (patch)
tree49b52ca7a7f0d85489e23a7e8fbca763e7045061 /drivers/sfi
parentSFI: fix section mismatch warnings in sfi_core.c (diff)
downloadlinux-011a606d0670196c17110b6770e39cc0865aa614.tar.xz
linux-011a606d0670196c17110b6770e39cc0865aa614.zip
SFI: remove __init from sfi_verify_table
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>
Diffstat (limited to 'drivers/sfi')
-rw-r--r--drivers/sfi/sfi_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c
index 251da2298b69..b204a0929139 100644
--- 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;