diff options
| author | Adam Belay <ambx1@neo.rr.com> | 2003-09-21 17:55:37 +0000 |
|---|---|---|
| committer | Adam Belay <ambx1@neo.rr.com> | 2003-09-21 17:55:37 +0000 |
| commit | 8ba3fd9adb30ea4d18a1ce9471b95cf2ffe12cfa (patch) | |
| tree | a920ba5b66cc1190dfd604682bc71db730833a9b /include/linux | |
| parent | 0166041002b66aa77d05323ad208688f1c7fd7b7 (diff) | |
[PNPBIOS] compilation fix for pnpbios without proc support
Here's an updated patch that will correct the compile error when PROC
FS is disabled. It also introduces better proc error recovery and
moves the local proc functions to the local include file. Thanks to
Daniele Bellucci for finding the problem and contributing to this
patch.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pnpbios.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/pnpbios.h b/include/linux/pnpbios.h index 5b0e599dd5e2..4fefc51dbbcb 100644 --- a/include/linux/pnpbios.h +++ b/include/linux/pnpbios.h @@ -26,7 +26,7 @@ #ifdef __KERNEL__ #include <linux/types.h> -#include <linux/pci.h> +#include <linux/pnp.h> /* * Return codes @@ -135,9 +135,6 @@ extern int pnpbios_dont_use_current_config; extern struct pnp_dev_node_info node_info; extern void *pnpbios_kmalloc(size_t size, int f); extern int pnpbios_init (void); -extern int pnpbios_interface_attach_device(struct pnp_bios_node * node); -extern int pnpbios_proc_init (void); -extern void pnpbios_proc_exit (void); extern int pnp_bios_dev_node_info (struct pnp_dev_node_info *data); extern int pnp_bios_get_dev_node (u8 *nodenum, char config, struct pnp_bios_node *data); |
