summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/vertexcom/mse102x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/vertexcom/mse102x.c')
-rw-r--r--drivers/net/ethernet/vertexcom/mse102x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/vertexcom/mse102x.c b/drivers/net/ethernet/vertexcom/mse102x.c
index aeed2a093e..edd8b59680 100644
--- a/drivers/net/ethernet/vertexcom/mse102x.c
+++ b/drivers/net/ethernet/vertexcom/mse102x.c
@@ -664,7 +664,7 @@ static int mse102x_probe_spi(struct spi_device *spi)
spi->bits_per_word = 8;
spi->mode |= SPI_MODE_3;
/* enforce minimum speed to ensure device functionality */
- spi->master->min_speed_hz = MIN_FREQ_HZ;
+ spi->controller->min_speed_hz = MIN_FREQ_HZ;
if (!spi->max_speed_hz)
spi->max_speed_hz = MAX_FREQ_HZ;