linux/drivers/dma/idxd/compat.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2021 Intel Corporation. All rights rsvd. */
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/device/bus.h>
#include "idxd.h"

extern void device_driver_detach(struct device *dev);

#define DRIVER_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)

static ssize_t unbind_store(struct device_driver *drv, const char *buf, size_t count)
{}
static DRIVER_ATTR_IGNORE_LOCKDEP(unbind, 0200, NULL, unbind_store);

static ssize_t bind_store(struct device_driver *drv, const char *buf, size_t count)
{}
static DRIVER_ATTR_IGNORE_LOCKDEP(bind, 0200, NULL, bind_store);

static struct attribute *dsa_drv_compat_attrs[] =;

static const struct attribute_group dsa_drv_compat_attr_group =;

static const struct attribute_group *dsa_drv_compat_groups[] =;

static int idxd_dsa_drv_probe(struct idxd_dev *idxd_dev)
{}

static void idxd_dsa_drv_remove(struct idxd_dev *idxd_dev)
{}

static enum idxd_dev_type dev_types[] =;

struct idxd_device_driver dsa_drv =;

module_idxd_driver();
MODULE_IMPORT_NS();