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

x86, intel-mid: Remove "weak" from function declarations

For the following interfaces:

get_penwell_ops()
get_cloverview_ops()
get_tangier_ops()

there is only one implementation, so they do not need to be marked "weak".

Remove the "weak" attribute from their declarations.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
CC: David Cohen <david.a.cohen@linux.intel.com>
CC: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
CC: x86@kernel.org

+3 -4
+3 -4
arch/x86/platform/intel-mid/intel_mid_weak_decls.h
··· 10 10 */ 11 11 12 12 13 - /* __attribute__((weak)) makes these declarations overridable */ 14 13 /* For every CPU addition a new get_<cpuname>_ops interface needs 15 14 * to be added. 16 15 */ 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)); 16 + extern void *get_penwell_ops(void); 17 + extern void *get_cloverview_ops(void); 18 + extern void *get_tangier_ops(void);