serial: Remove duplicated macro definition of port type
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 7 May 2020 12:03:35 +0000 (20:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Jul 2020 12:06:08 +0000 (14:06 +0200)
commitea1be1e59b19017e61aa357d524b743ba5602d3c
tree19329118359149a0f837283a6a868ea44cfe9f26
parent44c413d9a51752056d606bf6f312003ac1740fab
serial: Remove duplicated macro definition of port type

There exists the same macro definition of port type from 0 to 13
in include/uapi/linux/serial.h, remove these duplicated code in
include/uapi/linux/serial_core.h which includes the former header.

Acked-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/1588853015-28392-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/serial_core.h