diff options
author | David Cohen <david.a.cohen@linux.intel.com> | 2014-01-28 18:09:27 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-01-28 18:13:40 -0500 |
commit | 790ed7421a973d9773dda8b4e5300c3f7f6fbcf7 (patch) | |
tree | 8d75bc7d2940cd5e4fb13dc24e7c590fb312dee7 /arch/x86/platform | |
parent | 48102ca7fb2856dde2c75fbd37db45ba630f2967 (diff) |
x86, intel-mid: Cleanup some platform code's header files
platform_ipc.h and platform_msic.h are wrongly declaring functions as
external and with 'weak' attribute. This patch does a cleanup on those
header files.
It should have no functional change.
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Link: http://lkml.kernel.org/r/1390950567-12821-1-git-send-email-david.a.cohen@linux.intel.com
Cc: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/platform')
-rw-r--r-- | arch/x86/platform/intel-mid/device_libs/platform_ipc.h | 5 | ||||
-rw-r--r-- | arch/x86/platform/intel-mid/device_libs/platform_msic.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_ipc.h b/arch/x86/platform/intel-mid/device_libs/platform_ipc.h index 8f568dd79605..79bb09d4f718 100644 --- a/arch/x86/platform/intel-mid/device_libs/platform_ipc.h +++ b/arch/x86/platform/intel-mid/device_libs/platform_ipc.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #ifndef _PLATFORM_IPC_H_ | 12 | #ifndef _PLATFORM_IPC_H_ |
13 | #define _PLATFORM_IPC_H_ | 13 | #define _PLATFORM_IPC_H_ |
14 | 14 | ||
15 | extern void __init ipc_device_handler(struct sfi_device_table_entry *pentry, | 15 | void __init |
16 | struct devs_id *dev) __attribute__((weak)); | 16 | ipc_device_handler(struct sfi_device_table_entry *pentry, struct devs_id *dev); |
17 | |||
17 | #endif | 18 | #endif |
diff --git a/arch/x86/platform/intel-mid/device_libs/platform_msic.h b/arch/x86/platform/intel-mid/device_libs/platform_msic.h index 917eb56d77da..b7be1d041da2 100644 --- a/arch/x86/platform/intel-mid/device_libs/platform_msic.h +++ b/arch/x86/platform/intel-mid/device_libs/platform_msic.h | |||
@@ -14,6 +14,6 @@ | |||
14 | 14 | ||
15 | extern struct intel_msic_platform_data msic_pdata; | 15 | extern struct intel_msic_platform_data msic_pdata; |
16 | 16 | ||
17 | extern void *msic_generic_platform_data(void *info, | 17 | void *msic_generic_platform_data(void *info, enum intel_msic_block block); |
18 | enum intel_msic_block block) __attribute__((weak)); | 18 | |
19 | #endif | 19 | #endif |