![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /lib/modules/4.18.0-348.2.1.el8_5.x86_64/build/include/linux/ |
/* SPDX-License-Identifier: GPL-2.0+ */ /** * PCI Endpoint ConfigFS header file * * Copyright (C) 2017 Texas Instruments * Author: Kishon Vijay Abraham I <[email protected]> */ #ifndef __LINUX_PCI_EP_CFS_H #define __LINUX_PCI_EP_CFS_H #include <linux/configfs.h> #ifdef CONFIG_PCI_ENDPOINT_CONFIGFS struct config_group *pci_ep_cfs_add_epc_group(const char *name); void pci_ep_cfs_remove_epc_group(struct config_group *group); struct config_group *pci_ep_cfs_add_epf_group(const char *name); void pci_ep_cfs_remove_epf_group(struct config_group *group); #else static inline struct config_group *pci_ep_cfs_add_epc_group(const char *name) { return NULL; } static inline void pci_ep_cfs_remove_epc_group(struct config_group *group) { } static inline struct config_group *pci_ep_cfs_add_epf_group(const char *name) { return NULL; } static inline void pci_ep_cfs_remove_epf_group(struct config_group *group) { } #endif #endif /* __LINUX_PCI_EP_CFS_H */