From beda26d1f93a4087bc858e5c95f3b8fd616ba1e2 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Tue, 8 Dec 2009 07:12:03 -0200 Subject: [PATCH] No character device any more. We already have a better sample out there. --- Makefile | 3 +-- hello_char.c | 35 ----------------------------------- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 hello_char.c diff --git a/Makefile b/Makefile index 1c06ef1..8569a8c 100644 --- 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 index cfc008c..0000000 --- a/hello_char.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2009 Thadeu Lima de Souza Cascardo - * - * 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 - -MODULE_AUTHOR("Thadeu Lima de Souza Cascardo "); -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); -- 2.20.1