OSDN Git Service

x86/sfi: Kill the IRQ as id hack
authorAlan Cox <alan@linux.intel.com>
Wed, 16 Nov 2011 18:17:40 +0000 (18:17 +0000)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 12:57:48 +0000 (13:57 +0100)
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>
arch/x86/platform/mrst/mrst.c

index b1489a0..6a21f60 100644 (file)
@@ -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);