#include <linux/string.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/ctype.h>
#include <linux/slab.h>
#include <linux/pnp.h>
#include "base.h"
static int compare_func(const char *ida, const char *idb)
{ … }
int compare_pnp_id(struct pnp_id *pos, const char *id)
{ … }
static const struct pnp_device_id *match_device(const struct pnp_driver *drv,
struct pnp_dev *dev)
{ … }
int pnp_device_attach(struct pnp_dev *pnp_dev)
{ … }
EXPORT_SYMBOL(…);
void pnp_device_detach(struct pnp_dev *pnp_dev)
{ … }
EXPORT_SYMBOL(…);
static int pnp_device_probe(struct device *dev)
{ … }
static void pnp_device_remove(struct device *dev)
{ … }
static void pnp_device_shutdown(struct device *dev)
{ … }
static int pnp_bus_match(struct device *dev, const struct device_driver *drv)
{ … }
static int __pnp_bus_suspend(struct device *dev, pm_message_t state)
{ … }
static int pnp_bus_suspend(struct device *dev)
{ … }
static int pnp_bus_freeze(struct device *dev)
{ … }
static int pnp_bus_poweroff(struct device *dev)
{ … }
static int pnp_bus_resume(struct device *dev)
{ … }
static const struct dev_pm_ops pnp_bus_dev_pm_ops = …;
const struct bus_type pnp_bus_type = …;
bool dev_is_pnp(const struct device *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
int pnp_register_driver(struct pnp_driver *drv)
{ … }
EXPORT_SYMBOL(…);
void pnp_unregister_driver(struct pnp_driver *drv)
{ … }
EXPORT_SYMBOL(…);
struct pnp_id *pnp_add_id(struct pnp_dev *dev, const char *id)
{ … }