summaryrefslogtreecommitdiff
path: root/drivers/net/wan/slic_ds26522.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/slic_ds26522.c')
-rw-r--r--drivers/net/wan/slic_ds26522.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/slic_ds26522.c b/drivers/net/wan/slic_ds26522.c
index 6063552cea9b..8a51cfcff99e 100644
--- a/drivers/net/wan/slic_ds26522.c
+++ b/drivers/net/wan/slic_ds26522.c
@@ -211,7 +211,7 @@ static int slic_ds26522_probe(struct spi_device *spi)
ret = slic_ds26522_init_configure(spi);
if (ret == 0)
- pr_info("DS26522 cs%d configured\n", spi->chip_select);
+ pr_info("DS26522 cs%d configured\n", spi_get_chipselect(spi, 0));
return ret;
}