Skip to content

Commit

Permalink
x86/sfi: Kill the IRQ as id hack
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Ingo Molnar committed Dec 5, 2011
1 parent 8e8da02 commit 54b0264
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/platform/mrst/mrst.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,8 +802,7 @@ static void __init sfi_handle_ipc_dev(struct sfi_device_table_entry *entry)
if (mrst_has_msic())
return;

/* ID as IRQ is a hack that will go away */
pdev = platform_device_alloc(entry->name, entry->irq);
pdev = platform_device_alloc(entry->name, 0);
if (pdev == NULL) {
pr_err("out of memory for SFI platform device '%s'.\n",
entry->name);
Expand Down

0 comments on commit 54b0264

Please sign in to comment.