OSDN Git Service

tty: serial: sifive: Struct headers should start with 'struct <name>'
authorLee Jones <lee.jones@linaro.org>
Wed, 4 Nov 2020 19:35:38 +0000 (19:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 09:54:05 +0000 (10:54 +0100)
commit180bb243de730c874b6279f702c17f5277b86693
treee5ade6a18e54c9afae1ef49fabbc8e8a8c02c912
parent0fd872d7160cc521cf4dad71f5f8cfd37d08c1bf
tty: serial: sifive: Struct headers should start with 'struct <name>'

Also supply a missing member description.

Fixes the following W=1 kernel build warning(s):

 drivers/tty/serial/sifive.c:157: warning: cannot understand function prototype: 'struct sifive_serial_port '

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: linux-serial@vger.kernel.org
Cc: linux-riscv@lists.infradead.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Link: https://lore.kernel.org/r/20201104193549.4026187-26-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sifive.c