cregit-Linux how code gets into the kernel

Release 4.16 include/linux/pci-ep-cfs.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0+ */
/**
 * PCI Endpoint ConfigFS header file
 *
 * Copyright (C) 2017 Texas Instruments
 * Author: Kishon Vijay Abraham I <kishon@ti.com>
 */

#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 0; }

Contributors

PersonTokensPropCommitsCommitProp
Kishon Vijay Abraham I17100.00%1100.00%
Total17100.00%1100.00%


static inline void pci_ep_cfs_remove_epc_group(struct config_group *group) { }

Contributors

PersonTokensPropCommitsCommitProp
Kishon Vijay Abraham I11100.00%1100.00%
Total11100.00%1100.00%


static inline struct config_group *pci_ep_cfs_add_epf_group(const char *name) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Kishon Vijay Abraham I17100.00%1100.00%
Total17100.00%1100.00%


static inline void pci_ep_cfs_remove_epf_group(struct config_group *group) { }

Contributors

PersonTokensPropCommitsCommitProp
Kishon Vijay Abraham I11100.00%1100.00%
Total11100.00%1100.00%

#endif #endif /* __LINUX_PCI_EP_CFS_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Kishon Vijay Abraham I11598.29%150.00%
Björn Helgaas21.71%150.00%
Total117100.00%2100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.