]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial_mctrl_gpio: Fix COMPILE_TEST build for architectures with custom termios.h
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 20 Sep 2014 05:34:45 +0000 (09:34 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 13:56:55 +0000 (06:56 -0700)
commit00fb417bf024a01bffd6a7e2ab0b73b08cdef9aa
tree8a09df26c1751584ea63007c9ce2c200d94dcd22
parent331911a31959a5c2239c9f68c9af261db8113f3b
tty: serial_mctrl_gpio: Fix COMPILE_TEST build for architectures with custom termios.h

This patch fixes COMPILE_TEST build of serial_mctrl_gpio module for
architectures with custom termios.h header.

sparc64:allmodconfig:

In file included from drivers/tty/serial/serial_mctrl_gpio.c:21:0:
include/uapi/asm-generic/termios.h:22:8: error: redefinition of 'struct termio'
./arch/sparc/include/uapi/asm/termbits.h:16:8: note: originally defined here
make[3]: *** [drivers/tty/serial/serial_mctrl_gpio.o] Error 1

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_mctrl_gpio.c