git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
mips
/
kernel
/
irixinv.c
diff --git
a/arch/mips/kernel/irixinv.c
b/arch/mips/kernel/irixinv.c
index
eea2582
..
b8f1446
100644
(file)
--- a/
arch/mips/kernel/irixinv.c
+++ b/
arch/mips/kernel/irixinv.c
@@
-6,10
+6,8
@@
* Miguel de Icaza, 1997.
*/
#include <linux/mm.h>
* Miguel de Icaza, 1997.
*/
#include <linux/mm.h>
-#include <linux/init.h>
-#include <linux/slab.h>
-#include <asm/uaccess.h>
#include <asm/inventory.h>
#include <asm/inventory.h>
+#include <asm/uaccess.h>
#define MAX_INVENTORY 50
int inventory_items = 0;
#define MAX_INVENTORY 50
int inventory_items = 0;
@@
-49,7
+47,7
@@
int dump_inventory_to_user (void *userbuf, int size)
return inventory_items * sizeof (inventory_t);
}
return inventory_items * sizeof (inventory_t);
}
-
static
int __init init_inventory(void)
+int __init init_inventory(void)
{
/*
* gross hack while we put the right bits all over the kernel
{
/*
* gross hack while we put the right bits all over the kernel
@@
-77,5
+75,3
@@
static int __init init_inventory(void)
return 0;
}
return 0;
}
-
-module_init(init_inventory);