diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2019-04-18 05:01:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-19 15:09:23 +0300 |
commit | c53051128bb0e8754e13345d782ca69e5e1ce36d (patch) | |
tree | 328405d8eed2c69ca66fb28b1cc113b4527b6ae0 /mm | |
parent | b2ecf00631362a83744e5ec249947620db5e240c (diff) | |
download | linux-c53051128bb0e8754e13345d782ca69e5e1ce36d.tar.xz |
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@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions