From 8ba3fd9adb30ea4d18a1ce9471b95cf2ffe12cfa Mon Sep 17 00:00:00 2001 From: Adam Belay Date: Sun, 21 Sep 2003 17:55:37 +0000 Subject: [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. --- include/linux/pnpbios.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/linux') 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 -#include +#include /* * 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); -- cgit v1.2.3