diff options
author | Arjan van de Ven <arjan@infradead.org> | 2009-10-02 07:29:47 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-10-03 01:16:12 -0400 |
commit | 011a606d0670196c17110b6770e39cc0865aa614 (patch) | |
tree | 49b52ca7a7f0d85489e23a7e8fbca763e7045061 /drivers/sfi/sfi_core.c | |
parent | 01674da6f587a3f3940eedf2c1e97d51c35b994e (diff) | |
download | linux-stable-011a606d0670196c17110b6770e39cc0865aa614.tar.gz linux-stable-011a606d0670196c17110b6770e39cc0865aa614.tar.bz2 linux-stable-011a606d0670196c17110b6770e39cc0865aa614.zip |
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>
Diffstat (limited to 'drivers/sfi/sfi_core.c')
-rw-r--r-- | drivers/sfi/sfi_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c index 251da2298b69..b204a0929139 100644 --- a/drivers/sfi/sfi_core.c +++ b/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; |