diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-01-05 14:02:35 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-01-06 08:35:27 +0100 |
commit | a01b3391b542aaaed539f9d9d6d0d4d6502ab9c6 (patch) | |
tree | 6263bb2b7459a05e34ce7e40128ec9b4a7d0ff16 /arch/x86/include/asm/intel-mid.h | |
parent | x86/platform/intel-mid: Remove Moorestown code (diff) | |
download | linux-a01b3391b542aaaed539f9d9d6d0d4d6502ab9c6.tar.xz linux-a01b3391b542aaaed539f9d9d6d0d4d6502ab9c6.zip |
x86/platform/intel-mid: Get rid of duplication of IPC handler
There is no other device handler than ipc_device_handler() and sfi.c already
has a handler for IPC devices.
Replace a pointer to custom handler by a flag. Due to this change adjust
sfi_handle_ipc_dev() to handle it instead of ipc_device_handler().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170105130235.177792-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/intel-mid.h')
-rw-r--r-- | arch/x86/include/asm/intel-mid.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/include/asm/intel-mid.h b/arch/x86/include/asm/intel-mid.h index 49da9f497b90..91ead0cefa76 100644 --- a/arch/x86/include/asm/intel-mid.h +++ b/arch/x86/include/asm/intel-mid.h @@ -42,10 +42,8 @@ struct devs_id { char name[SFI_NAME_LEN + 1]; u8 type; u8 delay; + u8 msic; void *(*get_platform_data)(void *info); - /* Custom handler for devices */ - void (*device_handler)(struct sfi_device_table_entry *pentry, - struct devs_id *dev); }; #define sfi_device(i) \ |