ソースを参照

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>
Arjan van de Ven 15 年 前
コミット
011a606d06
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/sfi/sfi_core.c

+ 1 - 1
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;