summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2009-10-02 07:29:47 -0700
committerLen Brown <len.brown@intel.com>2009-10-03 01:16:12 -0400
commit011a606d0670196c17110b6770e39cc0865aa614 (patch)
tree49b52ca7a7f0d85489e23a7e8fbca763e7045061
parent01674da6f587a3f3940eedf2c1e97d51c35b994e (diff)
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>
-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 251da2298b6..b204a092913 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;