SFI: remove __init from sfi_verify_table
authorArjan van de Ven <arjan@infradead.org>
Fri, 2 Oct 2009 14:29:47 +0000 (07:29 -0700)
committerLen 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

index 251da22..b204a09 100644 (file)
@@ -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;