linux/drivers/vfio/platform/vfio_amba.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2013 - Virtual Open Systems
 * Author: Antonios Motakis <[email protected]>
 */

#include <linux/module.h>
#include <linux/slab.h>
#include <linux/vfio.h>
#include <linux/pm_runtime.h>
#include <linux/amba/bus.h>

#include "vfio_platform_private.h"

#define DRIVER_VERSION
#define DRIVER_AUTHOR
#define DRIVER_DESC

/* probing devices from the AMBA bus */

static struct resource *get_amba_resource(struct vfio_platform_device *vdev,
					  int i)
{}

static int get_amba_irq(struct vfio_platform_device *vdev, int i)
{}

static int vfio_amba_init_dev(struct vfio_device *core_vdev)
{}

static const struct vfio_device_ops vfio_amba_ops;
static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id)
{}

static void vfio_amba_release_dev(struct vfio_device *core_vdev)
{}

static void vfio_amba_remove(struct amba_device *adev)
{}

static const struct vfio_device_ops vfio_amba_ops =;

static const struct amba_id vfio_amba_ids[] =;

MODULE_DEVICE_TABLE(amba, vfio_amba_ids);

static struct amba_driver vfio_amba_driver =;

module_amba_driver();

MODULE_VERSION();
MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();