mips: unify prom_putchar() declarations
prom_putchar() is used centrally in early printk infrastructure therefore at least MIPS should agree on the function return type. [paul.burton@mips.com: - 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 <alexander.sverdlin@nokia.com> Signed-off-by:
Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/19842/ Cc: linux-mips@linux-mips.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com>
Showing
- arch/mips/alchemy/board-gpr.c 2 additions, 1 deletionarch/mips/alchemy/board-gpr.c
- arch/mips/alchemy/board-mtx1.c 2 additions, 1 deletionarch/mips/alchemy/board-mtx1.c
- arch/mips/alchemy/board-xxs1500.c 2 additions, 1 deletionarch/mips/alchemy/board-xxs1500.c
- arch/mips/alchemy/devboards/platform.c 2 additions, 1 deletionarch/mips/alchemy/devboards/platform.c
- arch/mips/ar7/prom.c 2 additions, 2 deletionsarch/mips/ar7/prom.c
- arch/mips/ath25/early_printk.c 3 additions, 2 deletionsarch/mips/ath25/early_printk.c
- arch/mips/ath79/early_printk.c 9 additions, 7 deletionsarch/mips/ath79/early_printk.c
- arch/mips/bcm63xx/early_printk.c 1 addition, 0 deletionsarch/mips/bcm63xx/early_printk.c
- arch/mips/boot/compressed/uart-prom.c 1 addition, 2 deletionsarch/mips/boot/compressed/uart-prom.c
- arch/mips/cavium-octeon/setup.c 2 additions, 2 deletionsarch/mips/cavium-octeon/setup.c
- arch/mips/fw/arc/arc_con.c 1 addition, 0 deletionsarch/mips/fw/arc/arc_con.c
- arch/mips/fw/arc/promlib.c 1 addition, 0 deletionsarch/mips/fw/arc/promlib.c
- arch/mips/fw/sni/sniprom.c 1 addition, 0 deletionsarch/mips/fw/sni/sniprom.c
- arch/mips/include/asm/setup.h 2 additions, 0 deletionsarch/mips/include/asm/setup.h
- arch/mips/include/asm/sgialib.h 0 additions, 1 deletionarch/mips/include/asm/sgialib.h
- arch/mips/include/asm/txx9/generic.h 0 additions, 1 deletionarch/mips/include/asm/txx9/generic.h
- arch/mips/kernel/early_printk.c 0 additions, 2 deletionsarch/mips/kernel/early_printk.c
- arch/mips/kernel/early_printk_8250.c 1 addition, 0 deletionsarch/mips/kernel/early_printk_8250.c
- arch/mips/lantiq/early_printk.c 1 addition, 0 deletionsarch/mips/lantiq/early_printk.c
- arch/mips/lasat/prom.c 1 addition, 0 deletionsarch/mips/lasat/prom.c
Loading
Please register or sign in to comment