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
);