Re: [PATCH] alpha: Add support for BOTHER

From: Guenter Roeck
Date: Mon Jun 15 2015 - 10:35:03 EST


On 06/15/2015 07:28 AM, Guenter Roeck wrote:
In -next, alpha:allmodconfig fails to build with

drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate':
drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared

This could be fixed on the user side, but it makes more sense
to just define BOTHER.

Cc: Marcel Holtmann <marcel@xxxxxxxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
arch/alpha/include/uapi/asm/termbits.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/alpha/include/uapi/asm/termbits.h b/arch/alpha/include/uapi/asm/termbits.h
index 879dd3589921..0d53d9e2633f 100644
--- a/arch/alpha/include/uapi/asm/termbits.h
+++ b/arch/alpha/include/uapi/asm/termbits.h
@@ -147,6 +147,7 @@ struct ktermios {
#define B3000000 00034
#define B3500000 00035
#define B4000000 00036
+#define BOTHER 00037

#define CSIZE 00001400
#define CS5 00000000


Forget about this one, I also need to define IBSHIFT.

Guenter

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