aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2009-10-02 10:29:47 -0400
committerLen Brown <len.brown@intel.com>2009-10-03 01:16:12 -0400
commit011a606d0670196c17110b6770e39cc0865aa614 (patch)
tree49b52ca7a7f0d85489e23a7e8fbca763e7045061 /drivers
parent01674da6f587a3f3940eedf2c1e97d51c35b994e (diff)
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')
-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 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,
129 * sfi_verify_table() 129 * sfi_verify_table()
130 * Sanity check table lengh, calculate checksum 130 * Sanity check table lengh, calculate checksum
131 */ 131 */
132static __init int sfi_verify_table(struct sfi_table_header *table) 132static int sfi_verify_table(struct sfi_table_header *table)
133{ 133{
134 134
135 u8 checksum = 0; 135 u8 checksum = 0;