Explorar o código

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>
Alan Cox %!s(int64=13) %!d(string=hai) anos
pai
achega
54b0264ec8
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      arch/x86/platform/mrst/mrst.c

+ 1 - 2
arch/x86/platform/mrst/mrst.c

@@ -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);