Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74355
b: refs/heads/master
c: 75d4279
h: refs/heads/master
i:
  74353: 78327c6
  74351: 438dcd5
v: v3
  • Loading branch information
David Brownell authored and Linus Torvalds committed Nov 29, 2007
1 parent ab0baf9 commit 488197a
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 438ae1ae7bef17026127b66b1ee16efde93bbcb0
refs/heads/master: 75d427982fef672b3608ae809b8819ec6358edfe
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.chipselect = s3c2410_spigpio_chipselect;

sp->bitbang.txrx_word[SPI_MODE_0] = s3c2410_spigpio_txrx_mode0;
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-arm/arch-s3c2410/spi-gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ struct s3c2410_spigpio_info {
unsigned long pin_mosi;
unsigned long pin_miso;

int bus_num;

unsigned long board_size;
struct spi_board_info *board_info;

Expand Down

0 comments on commit 488197a

Please sign in to comment.