Linux/linux c530511drivers/tty/serial sc16is7xx.c

sc16is7xx: put err_spi and err_i2c into correct #ifdef

err_spi is only called within SERIAL_SC16IS7XX_SPI
while err_i2c is called inside SERIAL_SC16IS7XX_I2C.
So we need to put err_spi and err_i2c into each #ifdef
accordingly.

This change fixes ("sc16is7xx: move label 'err_spi'
to correct section").

Signed-off-by: Guoqing Jiang <gqjiang at suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
DeltaFile
+2-2drivers/tty/serial/sc16is7xx.c
+2-21 files

UnifiedSplitRaw