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 <[email protected]>
Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
Arjan van de Ven 2009-10-02 07:29:47 -07:00 • committed by Len Brown
commit 011a606d06

View 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;