mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
prom_putchar() is used centrally in early printk infrastructure therefore at least MIPS should agree on the function return type. [[email protected]: - Include linux/types.h in asm/setup.h to gain the bool typedef before we start include asm/setup.h elsewhere. - Include asm/setup.h in all files that use or define prom_putchar(). - Also standardise on signed rather than unsigned char argument.] Signed-off-by: Alexander Sverdlin <[email protected]> Signed-off-by: Paul Burton <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/19842/ Cc: [email protected] Cc: Ralf Baechle <[email protected]> Cc: James Hogan <[email protected]> Cc: Jonas Gorski <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]>
8 lines
100 B
C
8 lines
100 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <asm/setup.h>
|
|
|
|
void putc(char c)
|
|
{
|
|
prom_putchar(c);
|
|
}
|