mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
Add plug and play information macro for SPI bus.
Matching table format is compatible with ACPI_ID_PROBE bus method.
This commit is contained in:
parent
58983e4b02
commit
62aa7ab939
1 changed files with 6 additions and 0 deletions
|
|
@ -46,3 +46,9 @@ struct spi_command {
|
|||
#else
|
||||
#define SPIBUS_FDT_PNP_INFO(t)
|
||||
#endif
|
||||
|
||||
#ifdef DEV_ACPI
|
||||
#define SPIBUS_ACPI_PNP_INFO(t) ACPICOMPAT_PNP_INFO(t, spibus)
|
||||
#else
|
||||
#define SPIBUS_ACPI_PNP_INFO(t)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue