|
Driver porting: hello worldDriver porting: hello worldPosted Jul 9, 2006 21:35 UTC (Sun) by dkandula (guest, #37125)Parent article: Driver porting: hello world
The outputs are given below along with the program. Please help me out.
[root@localhost dp-c]# insmod modul.ko
[root@localhost dp-c]# uname -a
The program is given below and the Makefile
obj-m += modul.o
Program
#include <linux/module.h>
MODULE_LICENSE("Dual BSD/GPL");
static int hello_init (void) {
static void hello_exit(void) {
module_init(hello_init);
Please help me out. I want to be a device driver. None of the online help
(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.