linux/arch/x86/platform/olpc
Arnd Bergmann 454a348714 x86/platform: Avoid missing-prototype warnings for OLPC
There are two functions in the olpc platform that have no prototype:

arch/x86/platform/olpc/olpc_dt.c:237:13: error: no previous prototype for 'olpc_dt_fixup' [-Werror=missing-prototypes]
arch/x86/platform/olpc/olpc-xo1-pm.c:73:26: error: no previous prototype for 'xo1_do_sleep' [-Werror=missing-prototypes]

The first one should just be marked 'static' as there are no other
callers, while the second one is called from assembler and is
just a false-positive warning that can be silenced by adding a
prototype.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://lore.kernel.org/all/20230516193549.544673-21-arnd%40kernel.org
2023-05-18 11:56:19 -07:00
..
Makefile
olpc_dt.c x86/platform: Avoid missing-prototype warnings for OLPC 2023-05-18 11:56:19 -07:00
olpc_ofw.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
olpc-xo1-pm.c x86: olpc-xo1-pm: Remove invocation of MFD's .enable()/.disable() call-backs 2019-11-11 08:45:03 +00:00
olpc-xo1-rtc.c
olpc-xo1-sci.c x86/olpc: fix 'logical not is only applied to the left hand side' 2022-07-15 08:30:16 -07:00
olpc-xo15-sci.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00
olpc.c x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI 2021-10-06 18:46:06 +02:00
xo1-wakeup.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00