File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -364,22 +364,22 @@ static int spi_ppc4xx_of_probe(struct platform_device *op)
364
364
365
365
/* Setup the state for the bitbang driver */
366
366
bbp = & hw -> bitbang ;
367
- bbp -> master = hw -> host ;
367
+ bbp -> ctlr = hw -> host ;
368
368
bbp -> setup_transfer = spi_ppc4xx_setupxfer ;
369
369
bbp -> txrx_bufs = spi_ppc4xx_txrx ;
370
370
bbp -> use_dma = 0 ;
371
- bbp -> master -> setup = spi_ppc4xx_setup ;
372
- bbp -> master -> cleanup = spi_ppc4xx_cleanup ;
373
- bbp -> master -> bits_per_word_mask = SPI_BPW_MASK (8 );
374
- bbp -> master -> use_gpio_descriptors = true;
371
+ bbp -> ctlr -> setup = spi_ppc4xx_setup ;
372
+ bbp -> ctlr -> cleanup = spi_ppc4xx_cleanup ;
373
+ bbp -> ctlr -> bits_per_word_mask = SPI_BPW_MASK (8 );
374
+ bbp -> ctlr -> use_gpio_descriptors = true;
375
375
/*
376
376
* The SPI core will count the number of GPIO descriptors to figure
377
377
* out the number of chip selects available on the platform.
378
378
*/
379
- bbp -> master -> num_chipselect = 0 ;
379
+ bbp -> ctlr -> num_chipselect = 0 ;
380
380
381
381
/* the spi->mode bits understood by this driver: */
382
- bbp -> master -> mode_bits =
382
+ bbp -> ctlr -> mode_bits =
383
383
SPI_CPHA | SPI_CPOL | SPI_CS_HIGH | SPI_LSB_FIRST ;
384
384
385
385
/* Get the clock for the OPB */
You can’t perform that action at this time.
0 commit comments