summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2019-04-09 16:16:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-03 08:12:15 +0200
commit81ff1b1c32526c66b3dcf28d238f2267e696f525 (patch)
tree51015d2143c1a1e0565ea495e65364d490e6ddbf /include
parentc7f701f9c43a0e938de4a54cfad40e63a32f0f38 (diff)
sc16is7xx: move label 'err_spi' to correct section
commit e00164a0f000de893944981f41a568c981aca658 upstream. err_spi is used when SERIAL_SC16IS7XX_SPI is enabled, so make the label only available under SERIAL_SC16IS7XX_SPI option. Otherwise, the below warning appears. drivers/tty/serial/sc16is7xx.c:1523:1: warning: label ‘err_spi’ defined but not used [-Wunused-label] err_spi: ^~~~~~~ Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Fixes: ac0cdb3d9901 ("sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions