1SPI_BUSNUM_TO_MASTER(9) Serial Peripheral Interface (S SPI_BUSNUM_TO_MASTER(9)
2
3
4
6 spi_busnum_to_master - look up master associated with bus_num
7
9 struct spi_master * spi_busnum_to_master(u16 bus_num);
10
12 bus_num
13 the master's bus number
14
16 can sleep
17
19 This call may be used with devices that are registered after arch init
20 time. It returns a refcounted pointer to the relevant spi_master (which
21 the caller must release), or NULL if there is no such master
22 registered.
23
25Kernel Hackers Manual 2.6. November 2011 SPI_BUSNUM_TO_MASTER(9)