diff options
author | Alan Cox <alan@linux.intel.com> | 2011-11-16 13:17:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-05 07:57:48 -0500 |
commit | 54b0264ec8c6e90f0413ad30e2f91c65e7844613 (patch) | |
tree | 7b88a555c6af11881a63356ba5ccb1a039c04f59 /arch/x86/platform | |
parent | 8e8da023f5af71662867729db5547dc54786093c (diff) |
x86/sfi: Kill the IRQ as id hack
Nothing should now need it so take it out
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/platform')
-rw-r--r-- | arch/x86/platform/mrst/mrst.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c index b1489a06a49d..6a21f603bd78 100644 --- a/arch/x86/platform/mrst/mrst.c +++ b/arch/x86/platform/mrst/mrst.c | |||
@@ -802,8 +802,7 @@ static void __init sfi_handle_ipc_dev(struct sfi_device_table_entry *entry) | |||
802 | if (mrst_has_msic()) | 802 | if (mrst_has_msic()) |
803 | return; | 803 | return; |
804 | 804 | ||
805 | /* ID as IRQ is a hack that will go away */ | 805 | pdev = platform_device_alloc(entry->name, 0); |
806 | pdev = platform_device_alloc(entry->name, entry->irq); | ||
807 | if (pdev == NULL) { | 806 | if (pdev == NULL) { |
808 | pr_err("out of memory for SFI platform device '%s'.\n", | 807 | pr_err("out of memory for SFI platform device '%s'.\n", |
809 | entry->name); | 808 | entry->name); |