]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
serial: 8250_exar: Describe all members in struct exar8250_board
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 18 Jul 2018 15:20:49 +0000 (18:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 06:40:45 +0000 (08:40 +0200)
Describe all memebers in struct exar8250_board, otherwise we get a warning:

drivers/tty/serial/8250/8250_exar.c:122: warning: Function parameter or member 'has_slave' not described in 'exar8250_board'
drivers/tty/serial/8250/8250_exar.c:122: warning: Function parameter or member 'setup' not described in 'exar8250_board'
drivers/tty/serial/8250/8250_exar.c:122: warning: Function parameter or member 'exit' not described in 'exar8250_board'

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c

index eafe70cff21af415290c2bbb77ab971412287fe1..a2cf801c11d8a331d6033379ffde0cb9c1e089f5 100644 (file)
@@ -109,6 +109,8 @@ struct exar8250_platform {
  * struct exar8250_board - board information
  * @num_ports: number of serial ports
  * @reg_shift: describes UART register mapping in PCI memory
+ * @setup: quirk run at ->probe() stage
+ * @exit: quirk run at ->remove() stage
  */
 struct exar8250_board {
        unsigned int num_ports;