forked from mirrors/linux
		
	Fix kernel-doc formatting throughout drivers/pci and related include files. No change to functionality intended. Check for warnings: $ find include drivers/pci -type f -path "*pci*.[ch]" | xargs scripts/kernel-doc -none [bhelgaas: squashed to one commit] Link: https://lore.kernel.org/r/20210509030237.368540-1-kw@linux.com Link: https://lore.kernel.org/r/20210703151306.1922450-1-kw@linux.com Link: https://lore.kernel.org/r/20210703151306.1922450-2-kw@linux.com Link: https://lore.kernel.org/r/20210703151306.1922450-3-kw@linux.com Link: https://lore.kernel.org/r/20210703151306.1922450-4-kw@linux.com Link: https://lore.kernel.org/r/20210703151306.1922450-5-kw@linux.com Signed-off-by: Krzysztof Wilczyński <kw@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
		
			
				
	
	
		
			38 lines
		
	
	
	
		
			956 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
	
		
			956 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* 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 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 */
 |