Re[2]: [PATCH] serial: sc26xx: Fix compile breakage
From: Alexander Shiyan <hidden>
Date: 2012-08-01 15:09:42
Hello. Wed, 1 Aug 2012 05:56:37 -0700 от Greg Kroah-Hartman [off-list ref]:
On Wed, Aug 01, 2012 at 12:00:20PM +0400, Alexander Shiyan wrote:quoted
This patch fixes the following compile breakage: CC drivers/tty/serial/sc26xx.o drivers/tty/serial/sc26xx.c: In function 'read_sc_port': drivers/tty/serial/sc26xx.c:100: error: implicit declaration of function 'readb' drivers/tty/serial/sc26xx.c: In function 'write_sc_port': drivers/tty/serial/sc26xx.c:105: error: implicit declaration of function 'writeb' drivers/tty/serial/sc26xx.c: In function 'sc26xx_probe': drivers/tty/serial/sc26xx.c:652: error: implicit declaration of function 'ioremap_nocache' drivers/tty/serial/sc26xx.c:652: warning: assignment makes pointer from integer without a cast make[3]: *** [drivers/tty/serial/sc26xx.o] Error 1 make[2]: *** [drivers/tty/serial] Error 2 make[1]: *** [drivers/tty] Error 2 make: *** [drivers] Error 2Breakage in what tree? What caused this to break?
Breakage due to missing header linux/io.h.