OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [fs/] [autofs4/] [init.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/* -*- c -*- --------------------------------------------------------------- *
2
 *
3
 * linux/fs/autofs/init.c
4
 *
5
 *  Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
6
 *
7
 * This file is part of the Linux kernel and is made available under
8
 * the terms of the GNU General Public License, version 2, or at your
9
 * option, any later version, incorporated herein by reference.
10
 *
11
 * ------------------------------------------------------------------------- */
12
 
13
#include <linux/module.h>
14
#include <linux/init.h>
15
#include "autofs_i.h"
16
 
17
static DECLARE_FSTYPE(autofs_fs_type, "autofs", autofs4_read_super, 0);
18
 
19
static int __init init_autofs4_fs(void)
20
{
21
        return register_filesystem(&autofs_fs_type);
22
}
23
 
24
static void __exit exit_autofs4_fs(void)
25
{
26
        unregister_filesystem(&autofs_fs_type);
27
}
28
 
29
module_init(init_autofs4_fs)
30
module_exit(exit_autofs4_fs)
31
MODULE_LICENSE("GPL");

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.