tty/n_hdlc: Fix struct n_hdlc kernel-doc warnings

Add missing descriptions for write_work and tty_for_write_work
members in struct n_hdlc.

This fixes the following warnings:
drivers/tty/n_hdlc.c: warning: Function parameter or member
  			       'write_work' not described in 'n_hdlc'
drivers/tty/n_hdlc.c: warning: Function parameter or member
  			       'tty_for_write_work' not described in 'n_hdlc'

Signed-off-by: Bartlomiej Kubik <kubik.bartlomiej@gmail.com>
Link: https://patch.msgid.link/20251202063748.1210359-1-kubik.bartlomiej@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Bartlomiej Kubik 2025-12-02 07:37:48 +01:00 committed by Greg Kroah-Hartman
parent e5484745c4
commit 695f986155

View File

@ -127,6 +127,8 @@ struct n_hdlc_buf_list {
* @rx_buf_list: list of received frame buffers
* @tx_free_buf_list: list unused transmit frame buffers
* @rx_free_buf_list: list unused received frame buffers
* @write_work: work struct for deferred frame transmission
* @tty_for_write_work: pointer to tty instance used by the @write_work
*/
struct n_hdlc {
bool tbusy;