linux/drivers/pci/controller/pci-hyperv-intf.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) Microsoft Corporation.
 *
 * Author:
 *   Haiyang Zhang <[email protected]>
 *
 * This small module is a helper driver allows other drivers to
 * have a common interface with the Hyper-V PCI frontend driver.
 */

#define pr_fmt(fmt)

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/hyperv.h>

struct hyperv_pci_block_ops hvpci_block_ops;
EXPORT_SYMBOL_GPL();

int hyperv_read_cfg_blk(struct pci_dev *dev, void *buf, unsigned int buf_len,
			unsigned int block_id, unsigned int *bytes_returned)
{}
EXPORT_SYMBOL_GPL();

int hyperv_write_cfg_blk(struct pci_dev *dev, void *buf, unsigned int len,
			 unsigned int block_id)
{}
EXPORT_SYMBOL_GPL();

int hyperv_reg_block_invalidate(struct pci_dev *dev, void *context,
				void (*block_invalidate)(void *context,
							 u64 block_mask))
{}
EXPORT_SYMBOL_GPL();

static void __exit exit_hv_pci_intf(void)
{}

static int __init init_hv_pci_intf(void)
{}

module_init();
module_exit(exit_hv_pci_intf);

MODULE_DESCRIPTION();
MODULE_LICENSE();