No character device any more. We already have a better sample out there.
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tue, 8 Dec 2009 09:12:03 +0000 (07:12 -0200)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tue, 8 Dec 2009 09:12:03 +0000 (07:12 -0200)
Makefile
hello_char.c [deleted file]

index 1c06ef1..8569a8c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1 @@
-obj-m += hello_procfs.o
-obj-m += hello_char.o
+obj-m := hello_procfs.o
diff --git a/hello_char.c b/hello_char.c
deleted file mode 100644 (file)
index cfc008c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- *  Copyright (C) 2009  Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License along
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-
-#include <linux/module.h>
-
-MODULE_AUTHOR("Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>");
-MODULE_LICENSE("GPL");
-
-static int hello_char_init(void)
-{
-       return 0;
-}
-
-static void hello_char_exit(void)
-{
-}
-
-module_init(hello_char_init);
-module_exit(hello_char_exit);