Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 754f0da0 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarIngo 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
parent 9e8beeb7
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -10,10 +10,9 @@
 */


/* __attribute__((weak)) makes these declarations overridable */
/* For every CPU addition a new get_<cpuname>_ops interface needs
 * to be added.
 */
extern void *get_penwell_ops(void) __attribute__((weak));
extern void *get_cloverview_ops(void) __attribute__((weak));
extern void *get_tangier_ops(void) __attribute__((weak));
extern void *get_penwell_ops(void);
extern void *get_cloverview_ops(void);
extern void *get_tangier_ops(void);