aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/base.h')
-rw-r--r--drivers/pnp/base.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h
new file mode 100644
index 000000000000..6b8c4cfd02a6
--- /dev/null
+++ b/drivers/pnp/base.h
@@ -0,0 +1,13 @@
1extern struct bus_type pnp_bus_type;
2extern spinlock_t pnp_lock;
3void *pnp_alloc(long size);
4int pnp_interface_attach_device(struct pnp_dev *dev);
5void pnp_fixup_device(struct pnp_dev *dev);
6void pnp_free_option(struct pnp_option *option);
7int __pnp_add_device(struct pnp_dev *dev);
8void __pnp_remove_device(struct pnp_dev *dev);
9
10int pnp_check_port(struct pnp_dev * dev, int idx);
11int pnp_check_mem(struct pnp_dev * dev, int idx);
12int pnp_check_irq(struct pnp_dev * dev, int idx);
13int pnp_check_dma(struct pnp_dev * dev, int idx);