Commit 790ed742 authored by David Cohen's avatar David Cohen Committed by H. Peter Anvin

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: default avatarDavid 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: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 48102ca7
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#ifndef _PLATFORM_IPC_H_ #ifndef _PLATFORM_IPC_H_
#define _PLATFORM_IPC_H_ #define _PLATFORM_IPC_H_
extern void __init ipc_device_handler(struct sfi_device_table_entry *pentry, void __init
struct devs_id *dev) __attribute__((weak)); ipc_device_handler(struct sfi_device_table_entry *pentry, struct devs_id *dev);
#endif #endif
...@@ -14,6 +14,6 @@ ...@@ -14,6 +14,6 @@
extern struct intel_msic_platform_data msic_pdata; extern struct intel_msic_platform_data msic_pdata;
extern void *msic_generic_platform_data(void *info, void *msic_generic_platform_data(void *info, enum intel_msic_block block);
enum intel_msic_block block) __attribute__((weak));
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment