2 * writer/swap_writer_module.c
3 * @author Alexander Aksenov <a.aksenov@samsung.com>
4 * @author Vitaliy Cherepanov <v.cherepanov@samsung.com>
5 * @author Vyacheslav Cherkashin
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 * Copyright (C) Samsung Electronics, 2013
27 * @section DESCRIPTION
29 * Packing and writing data.
33 #include <linux/module.h>
34 #include <master/swap_initializer.h>
36 #include "event_filter.h"
37 #include "debugfs_writer.h"
40 static int core_init(void)
44 ret = swap_msg_init();
48 ret = event_filter_init();
55 static void core_exit(void)
61 SWAP_LIGHT_INIT_MODULE(NULL, core_init, core_exit,
62 init_debugfs_writer, exit_debugfs_writer);
64 MODULE_LICENSE("GPL");
65 MODULE_DESCRIPTION("SWAP Writer module");
66 MODULE_AUTHOR("Cherkashin V., Aksenov A.S.");