Commit 41d202d8 authored by Herton Ronaldo Krzesinski's avatar Herton Ronaldo Krzesinski Committed by Linus Torvalds

Include serial_reg.h with userspace headers

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: default avatarHerton 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>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f54f0986
...@@ -137,6 +137,7 @@ header-y += radeonfb.h ...@@ -137,6 +137,7 @@ header-y += radeonfb.h
header-y += raw.h header-y += raw.h
header-y += resource.h header-y += resource.h
header-y += rose.h header-y += rose.h
header-y += serial_reg.h
header-y += smbno.h header-y += smbno.h
header-y += snmp.h header-y += snmp.h
header-y += sockios.h header-y += sockios.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment