Skip to content

Commit

Permalink
SFI: remove __init from sfi_verify_table
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Arjan van de Ven authored and lenb committed Oct 3, 2009
1 parent 01674da commit 011a606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sfi/sfi_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 011a606

Please sign in to comment.