blob: 0d82f9c4aff05944ae97a89d6311a6d7175200a7 [file] [log] [blame]
From stable-bounces@linux.kernel.org Tue Jul 31 00:48:18 2007
From: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Date: Tue, 31 Jul 2007 00:38:52 -0700
Subject: Include serial_reg.h with userspace headers
To: torvalds@linux-foundation.org
Cc: herton@mandriva.com.br, gustavodn@mandriva.com.br, akpm@linux-foundation.org, dwmw2@infradead.org, stable@kernel.org, rmk@arm.linux.org.uk
Message-ID: <200707310738.l6V7cqpK022190@imap1.linux-foundation.org>
From: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
As reported by Gustavo de Nardin <gustavodn@mandriva.com.br>, while trying to
compile xosview (http://xosview.sourceforge.net/) with upstream kernel
headers being used you get the following errors:
serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory
serialmeter.cc: In member function 'virtual void
SerialMeter::checkResources()':
serialmeter.cc:71: error: 'UART_LSR' was not declared in this scope
serialmeter.cc:71: error: 'UART_MSR' was not declared in this scope
...
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Cc: Gustavo de Nardin <gustavodn@mandriva.com.br>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/Kbuild | 1 +
1 file changed, 1 insertion(+)
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -137,6 +137,7 @@ header-y += radeonfb.h
header-y += raw.h
header-y += resource.h
header-y += rose.h
+header-y += serial_reg.h
header-y += smbno.h
header-y += snmp.h
header-y += sockios.h