linux-stable/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-xo1-pm.c
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
olpc_dt.c x86/platform: Avoid missing-prototype warnings for OLPC 2023-05-18 11:56:19 -07:00
olpc_ofw.c
xo1-wakeup.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00