EmbLogic's Blog

implement own driver

head    1.1;
access;
symbols;
locks
root:1.1; strict;
comment    @ * @;

1.1
date    2014.06.20.12.16.30;    author root;    state Exp;
branches;
next    ;

desc
@own driver .
@

1.1
log
@Initial revision
@
text
@#include”header.h”
static int initialization_fun(void)
{
printk(KERN_INFO”hello kernel”);
return 0;
}
static void cleanup_fun(void)
{
printk(KERN_INFO “BYE FOR NOW,I WILL BE BACK”);

}
module_init(initialization_fun);
module_exit(cleanup_fun);

@

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>