x86, intel-mid: Cleanup some platform code's header files
authorDavid Cohen <david.a.cohen@linux.intel.com>
Tue, 28 Jan 2014 23:09:27 +0000 (15:09 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 28 Jan 2014 23:13:40 +0000 (15:13 -0800)
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>
arch/x86/platform/intel-mid/device_libs/platform_ipc.h
arch/x86/platform/intel-mid/device_libs/platform_msic.h

index 8f568dd79605058f0d9537e6aeb5c6010d7d1e46..79bb09d4f718f0a99f4ed4f3be8a2b38fd6fd0ae 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef _PLATFORM_IPC_H_
 #define _PLATFORM_IPC_H_
 
-extern void __init ipc_device_handler(struct sfi_device_table_entry *pentry,
-                       struct devs_id *dev) __attribute__((weak));
+void __init
+ipc_device_handler(struct sfi_device_table_entry *pentry, struct devs_id *dev);
+
 #endif
index 917eb56d77dab1aa9ae6b520262b7121c378d181..b7be1d041da233e400203522db151f7d7f703423 100644 (file)
@@ -14,6 +14,6 @@
 
 extern struct intel_msic_platform_data msic_pdata;
 
-extern void *msic_generic_platform_data(void *info,
-                       enum intel_msic_block block) __attribute__((weak));
+void *msic_generic_platform_data(void *info, enum intel_msic_block block);
+
 #endif