X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fmips%2Fkernel%2Firixinv.c;h=b8f1446eebc20ea29c1ed1e3c3ada6291cd39a9e;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=eea2582451e4dd9b95e34f16a4742d679a15ff3a;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/mips/kernel/irixinv.c b/arch/mips/kernel/irixinv.c index eea258245..b8f1446ee 100644 --- a/arch/mips/kernel/irixinv.c +++ b/arch/mips/kernel/irixinv.c @@ -6,10 +6,8 @@ * Miguel de Icaza, 1997. */ #include -#include -#include -#include #include +#include #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); } -static int __init init_inventory(void) +int __init init_inventory(void) { /* * gross hack while we put the right bits all over the kernel @@ -77,5 +75,3 @@ static int __init init_inventory(void) return 0; } - -module_init(init_inventory);