diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-03-17 21:50:49 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 19:30:57 +0100 |
commit | 1592dac2410511d24836e18d416b1d02c678322b (patch) | |
tree | 2cd73f3693b3c3c8df895459690f2a02c4653803 /include/asm-mips/inventory.h | |
parent | b4dbf95e3080cf43a27cc324bfa0975f88174d07 (diff) | |
download | linux-1592dac2410511d24836e18d416b1d02c678322b.tar.gz linux-1592dac2410511d24836e18d416b1d02c678322b.tar.bz2 linux-1592dac2410511d24836e18d416b1d02c678322b.zip |
Reformatting, remove debugging code.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/inventory.h')
-rw-r--r-- | include/asm-mips/inventory.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-mips/inventory.h b/include/asm-mips/inventory.h index 4cd36fe98173..92d90f75a636 100644 --- a/include/asm-mips/inventory.h +++ b/include/asm-mips/inventory.h @@ -4,6 +4,8 @@ #ifndef __ASM_INVENTORY_H #define __ASM_INVENTORY_H +#include <linux/compiler.h> + typedef struct inventory_s { struct inventory_s *inv_next; int inv_class; @@ -14,7 +16,9 @@ typedef struct inventory_s { } inventory_t; extern int inventory_items; -void add_to_inventory (int class, int type, int controller, int unit, int state); -int dump_inventory_to_user (void *userbuf, int size); + +extern void add_to_inventory (int class, int type, int controller, int unit, int state); +extern int dump_inventory_to_user (void __user *userbuf, int size); +extern int __init init_inventory(void); #endif /* __ASM_INVENTORY_H */ |