Home | History | Annotate | Download | only in insmod
      1 /*
      2  * Copyright (c) 2016 Fujitsu Ltd.
      3  * Author: Guangwen Feng <fenggw-fnst (at) cn.fujitsu.com>
      4  *
      5  * This program is free software; you can redistribute it and/or modify
      6  * it under the terms of the GNU General Public License as published by
      7  * the Free Software Foundation; either version 2 of the License, or
      8  * (at your option) any later version.
      9  *
     10  * This program is distributed in the hope that it will be useful,
     11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
     13  * the GNU General Public License for more details.
     14  *
     15  * Description:
     16  *  This is a kernel loadable module programme used by insmod01.sh
     17  *  testcase which inserts this module for test of insmod command.
     18  */
     19 
     20 #include <linux/module.h>
     21 #include <linux/init.h>
     22 #include <linux/kernel.h>
     23 
     24 static int test_init(void)
     25 {
     26 	return 0;
     27 }
     28 
     29 static void test_exit(void)
     30 {
     31 
     32 }
     33 
     34 module_init(test_init);
     35 module_exit(test_exit);
     36