linux/drivers/eisa/virtual_root.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Virtual EISA root driver.
 * Acts as a placeholder if we don't have a proper EISA bridge.
 *
 * (C) 2003 Marc Zyngier <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/eisa.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>

#if defined(CONFIG_EISA_VLB_PRIMING)
#define EISA_FORCE_PROBE_DEFAULT
#else
#define EISA_FORCE_PROBE_DEFAULT
#endif

static int force_probe =;
static void virtual_eisa_release (struct device *);

/* The default EISA device parent (virtual root device).
 * Now use a platform device, since that's the obvious choice. */

static struct platform_device eisa_root_dev =;

static struct eisa_root_device eisa_bus_root =;

static void virtual_eisa_release (struct device *dev)
{}

static int __init virtual_eisa_root_init (void)
{}

module_param (force_probe, int, 0444);

device_initcall (virtual_eisa_root_init);