From: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Gustavo de Nardin <gustavodn@mandriva.com.br>
Subject: [PATCH] Include serial_reg.h with userspace headers
Date: Sun, 15 Jul 2007 00:02:39 -0300 [thread overview]
Message-ID: <200707150002.39321.herton@mandriva.com.br> (raw)
Hi,
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
...
I don't know if it's right to provide serial_reg.h with userspace headers, may
be serial_reg.h isn't included for some reason. But if it's ok, the following
patch adds serial_reg.h to be installed with user space kernel headers:
=================================================
Add serial_reg.h to userspace kernel headers
Include serial_reg.h in kernel headers for user space, it is at least
needed for one program, xosview.
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 127d2d1..eba0ccb 100644
--- 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
--
[]'s
Herton.
next reply other threads:[~2007-07-15 3:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-15 3:02 Herton Ronaldo Krzesinski [this message]
2007-07-19 1:08 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707150002.39321.herton@mandriva.com.br \
--to=herton@mandriva.com.br \
--cc=gustavodn@mandriva.com.br \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®