xref: /linux/drivers/pnp/base.h (revision f3d9478b2ce468c3115b02ecae7e975990697f15)
1 extern struct bus_type pnp_bus_type;
2 extern spinlock_t pnp_lock;
3 void *pnp_alloc(long size);
4 int pnp_interface_attach_device(struct pnp_dev *dev);
5 void pnp_fixup_device(struct pnp_dev *dev);
6 void pnp_free_option(struct pnp_option *option);
7 int __pnp_add_device(struct pnp_dev *dev);
8 void __pnp_remove_device(struct pnp_dev *dev);
9 
10 int pnp_check_port(struct pnp_dev * dev, int idx);
11 int pnp_check_mem(struct pnp_dev * dev, int idx);
12 int pnp_check_irq(struct pnp_dev * dev, int idx);
13 int pnp_check_dma(struct pnp_dev * dev, int idx);
14