Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119529
b: refs/heads/master
c: b93c35f
h: refs/heads/master
i:
  119527: c9ae123
v: v3
  • Loading branch information
Ben Dooks authored and Linus Torvalds committed Dec 2, 2008
1 parent 5947555 commit 78bf199
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e39ea8a2def1fcb203ed0183317124348962e351
refs/heads/master: b93c35ff39d19f20c47c06c206986afefecc777a
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-s3c2410/include/mach/spi-gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ struct s3c2410_spigpio_info {
unsigned long pin_mosi;
unsigned long pin_miso;

int num_chipselect;
int bus_num;

void (*chip_select)(struct s3c2410_spigpio_info *spi, int cs);
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/spi/spi_s3c24xx_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ static int s3c2410_spigpio_probe(struct platform_device *dev)
/* setup spi bitbang adaptor */
sp->bitbang.master = spi_master_get(master);
sp->bitbang.master->bus_num = info->bus_num;
sp->bitbang.master->num_chipselect = info->num_chipselect;
sp->bitbang.chipselect = s3c2410_spigpio_chipselect;

sp->bitbang.txrx_word[SPI_MODE_0] = s3c2410_spigpio_txrx_mode0;
Expand Down

0 comments on commit 78bf199

Please sign in to comment.