1 /* 2 * Copyright (c) 2006-2022, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2024-07-07 GuEe-GUI first version 9 */ 10 11 #ifndef __PCI_PROCFS_H__ 12 #define __PCI_PROCFS_H__ 13 14 #include <drivers/pci.h> 15 16 #ifdef RT_USING_DFS_PROCFS 17 #include <proc.h> 18 19 void pci_procfs_attach(struct rt_pci_device *pdev); 20 void pci_procfs_detach(struct rt_pci_device *pdev); 21 #else pci_procfs_attach(struct rt_pci_device * pdev)22rt_inline void pci_procfs_attach(struct rt_pci_device *pdev) 23 { 24 } 25 pci_procfs_detach(struct rt_pci_device * pdev)26rt_inline void pci_procfs_detach(struct rt_pci_device *pdev) 27 { 28 } 29 #endif /* RT_USING_DFS_PROCFS */ 30 31 #endif /* __PCI_PROCFS_H__ */ 32