mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
pci add register drivers
Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com>
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <nuttx/net/tun.h>
|
||||
#include <nuttx/net/telnet.h>
|
||||
#include <nuttx/note/note_driver.h>
|
||||
#include <nuttx/pci/pci.h>
|
||||
#include <nuttx/power/pm.h>
|
||||
#include <nuttx/power/regulator.h>
|
||||
#include <nuttx/segger/rtt.h>
|
||||
@@ -253,6 +254,10 @@ void drivers_initialize(void)
|
||||
mtd_loop_register();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
pci_register_drivers();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DRIVERS_VIRTIO
|
||||
virtio_register_drivers();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user