// SPDX-License-Identifier: GPL-2.0 /* * support.c - standard functions for the use of pnp protocol drivers * * Copyright 2003 Adam Belay <[email protected]> * Copyright (C) 2008 Hewlett-Packard Development Company, L.P. * Bjorn Helgaas <[email protected]> */ #include <linux/module.h> #include <linux/ctype.h> #include <linux/pnp.h> #include "base.h" /** * pnp_is_active - Determines if a device is active based on its current * resources * @dev: pointer to the desired PnP device */ int pnp_is_active(struct pnp_dev *dev) { … } EXPORT_SYMBOL(…); /* * Functionally similar to acpi_ex_eisa_id_to_string(), but that's * buried in the ACPI CA, and we can't depend on it being present. */ void pnp_eisa_id_to_string(u32 id, char *str) { … } char *pnp_resource_type_name(struct resource *res) { … } void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc) { … } char *pnp_option_priority_name(struct pnp_option *option) { … } void dbg_pnp_show_option(struct pnp_dev *dev, struct pnp_option *option) { … }