|
Driver porting: hello worldDriver porting: hello worldPosted Nov 9, 2004 12:32 UTC (Tue) by madhavi_srinivas (guest, #25933)Parent article: Driver porting: hello world
Dear all,
Here is the small hello.c program.
#include <linux/init.h>
MODULE_LICENSE("Dual BSD/GPL");
static int hello_init(void)
static void hello_exit(void)
module_init(hello_init);
Here is the Makefile.
#
obj-m:=hello.o
default:
#####################################################
It got compiled and inserted with out any errors, but dmesg says "unsupported module, tainting kernel".
System Configuration: x86, SuSE 9.1 with 2.6.5-7.71 kernel version.
What can I do to get rid of that message?
Thanks for any hints.
Regards,
(Log in to post comments)
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.