You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
spi: S3C2410: add bus number to SPI GPIO driver
Allow passing a bus number through the platform data for the S3C2410 SPI GPIO driver. This is needed to support multiple SPI busses. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
438ae1ae7b
commit
75d427982f
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user