Skip to content

Commit 6415c7f

Browse files
committed
spi: Drop mismerged fix
One patch of a series of three that was sent fixing issues with the ppc4xx driver was targeted at -next, unfortunately it being sandwiched between two others that targeted mainline tripped up my workflow and caused it to get merged along with the others. The ppc4xx driver is only buildable in very limited configurations so none of the CI catches issues with it. Fixes: de4af89 ("spi: ppc4xx: Fix fallout from rename in struct spi_bitbang") Signed-off-by: Mark Brown <[email protected]>
1 parent 078d62d commit 6415c7f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/spi/spi-ppc4xx.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -359,22 +359,22 @@ static int spi_ppc4xx_of_probe(struct platform_device *op)
359359

360360
/* Setup the state for the bitbang driver */
361361
bbp = &hw->bitbang;
362-
bbp->ctlr = hw->host;
362+
bbp->master = hw->host;
363363
bbp->setup_transfer = spi_ppc4xx_setupxfer;
364364
bbp->txrx_bufs = spi_ppc4xx_txrx;
365365
bbp->use_dma = 0;
366-
bbp->ctlr->setup = spi_ppc4xx_setup;
367-
bbp->ctlr->cleanup = spi_ppc4xx_cleanup;
368-
bbp->ctlr->bits_per_word_mask = SPI_BPW_MASK(8);
369-
bbp->ctlr->use_gpio_descriptors = true;
366+
bbp->master->setup = spi_ppc4xx_setup;
367+
bbp->master->cleanup = spi_ppc4xx_cleanup;
368+
bbp->master->bits_per_word_mask = SPI_BPW_MASK(8);
369+
bbp->master->use_gpio_descriptors = true;
370370
/*
371371
* The SPI core will count the number of GPIO descriptors to figure
372372
* out the number of chip selects available on the platform.
373373
*/
374-
bbp->ctlr->num_chipselect = 0;
374+
bbp->master->num_chipselect = 0;
375375

376376
/* the spi->mode bits understood by this driver: */
377-
bbp->ctlr->mode_bits =
377+
bbp->master->mode_bits =
378378
SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST;
379379

380380
/* Get the clock for the OPB */

0 commit comments

Comments
 (0)