forked from mirrors/linux
		
	Without having the putc() prototype forwardly declared the next build-warning is printed: arch/mips/boot/compressed/uart-prom.c:6:6: warning: no previous prototype for ‘putc’ [-Wmissing-prototypes] ... Fix that by adding the "decompress.h" header file with the putc() function declaration to the source files which have the method redefined. Signed-off-by: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			170 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			170 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0
 | 
						|
#include <asm/mach-au1x00/au1000.h>
 | 
						|
 | 
						|
#include "decompress.h"
 | 
						|
 | 
						|
void putc(char c)
 | 
						|
{
 | 
						|
	alchemy_uart_putchar(AU1000_UART0_PHYS_ADDR, c);
 | 
						|
}
 |