mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
spi: Add SPIBUS_PNP_INFO macro
The PNP info string is the same as the SIMPLEBUS one but driver should depend on spibus and not simplebus
This commit is contained in:
parent
ba03ef5e21
commit
64b507e5fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335158
@ -40,3 +40,7 @@ struct spi_command {
|
||||
#define SPI_COMMAND_INITIALIZER { 0 }
|
||||
|
||||
#define SPI_CHIP_SELECT_HIGH 0x1 /* Chip select high (else low) */
|
||||
|
||||
#define SPIBUS_PNP_DESCR "Z:compat;P:#;"
|
||||
#define SPIBUS_PNP_INFO(t) \
|
||||
MODULE_PNP_INFO(SPIBUS_PNP_DESCR, spibus, t, t, sizeof(t[0]), sizeof(t) / sizeof(t[0]));
|
||||
|
Loading…
Reference in New Issue
Block a user