linux/drivers/vfio/mdev/mdev_driver.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * MDEV driver
 *
 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
 *     Author: Neo Jia <[email protected]>
 *             Kirti Wankhede <[email protected]>
 */

#include <linux/iommu.h>
#include <linux/mdev.h>

#include "mdev_private.h"

static int mdev_probe(struct device *dev)
{}

static void mdev_remove(struct device *dev)
{}

static int mdev_match(struct device *dev, const struct device_driver *drv)
{}

const struct bus_type mdev_bus_type =;

/**
 * mdev_register_driver - register a new MDEV driver
 * @drv: the driver to register
 *
 * Returns a negative value on error, otherwise 0.
 **/
int mdev_register_driver(struct mdev_driver *drv)
{}
EXPORT_SYMBOL();

/*
 * mdev_unregister_driver - unregister MDEV driver
 * @drv: the driver to unregister
 */
void mdev_unregister_driver(struct mdev_driver *drv)
{}
EXPORT_SYMBOL();