summaryrefslogtreecommitdiffstats
path: root/drivers/sfi
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2009-10-02 07:29:47 -0700
committerLen Brown <len.brown@intel.com>2009-10-03 01:16:12 -0400
commit011a606d0670196c17110b6770e39cc0865aa614 (patch)
tree49b52ca7a7f0d85489e23a7e8fbca763e7045061 /drivers/sfi
parent01674da6f587a3f3940eedf2c1e97d51c35b994e (diff)
downloadop-kernel-dev-011a606d0670196c17110b6770e39cc0865aa614.zip
op-kernel-dev-011a606d0670196c17110b6770e39cc0865aa614.tar.gz
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')
-rw-r--r--drivers/sfi/sfi_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c
index 251da22..b204a09 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;
OpenPOWER on IntegriCloud