[PATCH] KERNELRELEASE depends on CONFIG_LOCALVERSION
[linux-2.6/mini2440.git] / drivers / pnp / base.h
blob6b8c4cfd02a697a5f8e8f6dc68ab4ae7ed890b0d
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);
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);