Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'x86-intel-mid-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull intel MID cleanups from Peter Anvin:
"Miscellaneous cleanups to the intel-mid code merged earlier in this
merge window"

* 'x86-intel-mid-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, intel-mid: Cleanup some platform code's header files
x86, intel-mid: Add missing 'void' to functions without arguments
x86: Don't add new __cpuinit users to Merrifield platform code
x86: Don't introduce more __cpuinit users in intel_mid_weak_decls.h

+12 -11
+3 -2
arch/x86/platform/intel-mid/device_libs/platform_ipc.h
··· 12 12 #ifndef _PLATFORM_IPC_H_ 13 13 #define _PLATFORM_IPC_H_ 14 14 15 - extern void __init ipc_device_handler(struct sfi_device_table_entry *pentry, 16 - struct devs_id *dev) __attribute__((weak)); 15 + void __init 16 + ipc_device_handler(struct sfi_device_table_entry *pentry, struct devs_id *dev); 17 + 17 18 #endif
+2 -2
arch/x86/platform/intel-mid/device_libs/platform_msic.h
··· 14 14 15 15 extern struct intel_msic_platform_data msic_pdata; 16 16 17 - extern void *msic_generic_platform_data(void *info, 18 - enum intel_msic_block block) __attribute__((weak)); 17 + void *msic_generic_platform_data(void *info, enum intel_msic_block block); 18 + 19 19 #endif
+3 -3
arch/x86/platform/intel-mid/intel_mid_weak_decls.h
··· 14 14 /* For every CPU addition a new get_<cpuname>_ops interface needs 15 15 * to be added. 16 16 */ 17 - extern void * __cpuinit get_penwell_ops(void) __attribute__((weak)); 18 - extern void * __cpuinit get_cloverview_ops(void) __attribute__((weak)); 19 - extern void * __init get_tangier_ops(void) __attribute__((weak)); 17 + extern void *get_penwell_ops(void) __attribute__((weak)); 18 + extern void *get_cloverview_ops(void) __attribute__((weak)); 19 + extern void *get_tangier_ops(void) __attribute__((weak));
+3 -3
arch/x86/platform/intel-mid/mfld.c
··· 58 58 return 0; 59 59 } 60 60 61 - static void __init penwell_arch_setup() 61 + static void __init penwell_arch_setup(void) 62 62 { 63 63 x86_platform.calibrate_tsc = mfld_calibrate_tsc; 64 64 pm_power_off = mfld_power_off; 65 65 } 66 66 67 - void * __cpuinit get_penwell_ops() 67 + void *get_penwell_ops(void) 68 68 { 69 69 return &penwell_ops; 70 70 } 71 71 72 - void * __cpuinit get_cloverview_ops() 72 + void *get_cloverview_ops(void) 73 73 { 74 74 return &penwell_ops; 75 75 }
+1 -1
arch/x86/platform/intel-mid/mrfl.c
··· 97 97 .arch_setup = tangier_arch_setup, 98 98 }; 99 99 100 - void * __cpuinit get_tangier_ops() 100 + void *get_tangier_ops(void) 101 101 { 102 102 return &tangier_ops; 103 103 }