diff options
| author | Andy Shevchenko <[email protected]> | 2017-01-05 13:02:35 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-01-06 07:35:27 +0000 |
| commit | a01b3391b542aaaed539f9d9d6d0d4d6502ab9c6 (patch) | |
| tree | 6263bb2b7459a05e34ce7e40128ec9b4a7d0ff16 /arch/x86/include/asm/intel-mid.h | |
| parent | x86/platform/intel-mid: Remove Moorestown code (diff) | |
| download | kernel-a01b3391b542aaaed539f9d9d6d0d4d6502ab9c6.tar.gz kernel-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 <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
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) \ |
