linux/drivers/acpi/acpi_pnp.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * ACPI support for PNP bus type
 *
 * Copyright (C) 2014, Intel Corporation
 * Authors: Zhang Rui <[email protected]>
 *          Rafael J. Wysocki <[email protected]>
 */

#include <linux/acpi.h>
#include <linux/module.h>
#include <linux/ctype.h>

#include "internal.h"

static const struct acpi_device_id acpi_pnp_device_ids[] =;

static bool matching_id(const char *idstr, const char *list_id)
{}

static bool acpi_pnp_match(const char *idstr, const struct acpi_device_id **matchid)
{}

/*
 * If one of the device IDs below is present in the list of device IDs of a
 * given ACPI device object, the PNP scan handler will not attach to that
 * object, because there is a proper non-PNP driver in the kernel for the
 * device represented by it.
 */
static const struct acpi_device_id acpi_nonpnp_device_ids[] =;

static int acpi_pnp_attach(struct acpi_device *adev,
			   const struct acpi_device_id *id)
{}

static struct acpi_scan_handler acpi_pnp_handler =;

/*
 * For CMOS RTC devices, the PNP ACPI scan handler does not work, because
 * there is a CMOS RTC ACPI scan handler installed already, so we need to
 * check those devices and enumerate them to the PNP bus directly.
 */
static int is_cmos_rtc_device(struct acpi_device *adev)
{}

bool acpi_is_pnp_device(struct acpi_device *adev)
{}
EXPORT_SYMBOL_GPL();

void __init acpi_pnp_init(void)
{}