mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
01674da6f5
commit
011a606d06
@ -129,7 +129,7 @@ static void sfi_print_table_header(unsigned long long pa,
|
|||||||
* sfi_verify_table()
|
* sfi_verify_table()
|
||||||
* Sanity check table lengh, calculate checksum
|
* 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;
|
u8 checksum = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user