aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/inventory.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-03-17 16:50:49 -0500
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:30:57 -0400
commit1592dac2410511d24836e18d416b1d02c678322b (patch)
tree2cd73f3693b3c3c8df895459690f2a02c4653803 /include/asm-mips/inventory.h
parentb4dbf95e3080cf43a27cc324bfa0975f88174d07 (diff)
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.h8
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 @@
4#ifndef __ASM_INVENTORY_H 4#ifndef __ASM_INVENTORY_H
5#define __ASM_INVENTORY_H 5#define __ASM_INVENTORY_H
6 6
7#include <linux/compiler.h>
8
7typedef struct inventory_s { 9typedef struct inventory_s {
8 struct inventory_s *inv_next; 10 struct inventory_s *inv_next;
9 int inv_class; 11 int inv_class;
@@ -14,7 +16,9 @@ typedef struct inventory_s {
14} inventory_t; 16} inventory_t;
15 17
16extern int inventory_items; 18extern int inventory_items;
17void add_to_inventory (int class, int type, int controller, int unit, int state); 19
18int dump_inventory_to_user (void *userbuf, int size); 20extern void add_to_inventory (int class, int type, int controller, int unit, int state);
21extern int dump_inventory_to_user (void __user *userbuf, int size);
22extern int __init init_inventory(void);
19 23
20#endif /* __ASM_INVENTORY_H */ 24#endif /* __ASM_INVENTORY_H */