mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
Merge branch 'pci/misc'
- Drop bogus kernel-doc marker in pci_endpoint_test.c (Randy Dunlap) - Fix epf_ntb_mw_bar_clear() kernel-doc (Yang Yingliang) - Constify struct kobj_type pci_slot_ktype (Thomas Weißschuh) * pci/misc: PCI: hv: Drop duplicate PCI_MSI dependency PCI/sysfs: Constify struct kobj_type pci_slot_ktype PCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc misc: pci_endpoint_test: Drop initial kernel-doc marker
This commit is contained in:
commit
3eb5d0f26f
@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/**
|
||||
/*
|
||||
* Host side test driver to test endpoint functionality
|
||||
*
|
||||
* Copyright (C) 2017 Texas Instruments
|
||||
|
@ -286,7 +286,7 @@ config PCIE_BRCMSTB
|
||||
|
||||
config PCI_HYPERV_INTERFACE
|
||||
tristate "Hyper-V PCI Interface"
|
||||
depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI && PCI_MSI
|
||||
depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI
|
||||
help
|
||||
The Hyper-V PCI Interface is a helper driver allows other drivers to
|
||||
have a common interface with the Hyper-V PCI frontend driver.
|
||||
|
@ -652,6 +652,7 @@ err_alloc_mem:
|
||||
/**
|
||||
* epf_ntb_mw_bar_clear() - Clear Memory window BARs
|
||||
* @ntb: NTB device that facilitates communication between HOST and VHOST
|
||||
* @num_mws: the number of Memory window BARs that to be cleared
|
||||
*/
|
||||
static void epf_ntb_mw_bar_clear(struct epf_ntb *ntb, int num_mws)
|
||||
{
|
||||
|
@ -98,7 +98,7 @@ static struct attribute *pci_slot_default_attrs[] = {
|
||||
};
|
||||
ATTRIBUTE_GROUPS(pci_slot_default);
|
||||
|
||||
static struct kobj_type pci_slot_ktype = {
|
||||
static const struct kobj_type pci_slot_ktype = {
|
||||
.sysfs_ops = &pci_slot_sysfs_ops,
|
||||
.release = &pci_slot_release,
|
||||
.default_groups = pci_slot_default_groups,
|
||||
|
Loading…
Reference in New Issue
Block a user