Re: [PATCH] Include serial_reg.h with userspace headers

From: Andrew Morton
Date: Wed Jul 18 2007 - 21:09:57 EST


On Sun, 15 Jul 2007 00:02:39 -0300
Herton Ronaldo Krzesinski <herton@xxxxxxxxxxxxxxx> wrote:

> As reported by Gustavo de Nardin <gustavodn@xxxxxxxxxxxxxxx>, 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:
>

Well that file is just a pile of "#define name number"s so I guess it's
OK to export it to save someone some typing, and to avoid breaking existing
stuff more than we need to.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/