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