How about taking this to ILUGD-Dev now that it's finally here? :)
> "Sandip" == Sandip Bhattacharya <[EMAIL PROTECTED]> writes:
Sandip> [EMAIL PROTECTED] wrote:
>> printk("<0>HI DEAR MODULE HAS BEEN INSERTED ONCE\n"); resinit =
>> register_chrdev(252, "SATENDRA PRATAP", &lp_fops);
[EMAIL PROTECTED] wrote:
printk("<0>HI DEAR MODULE HAS BEEN INSERTED ONCE\n");
resinit = register_chrdev(252, "SATENDRA PRATAP", &lp_fops);
return 0;
}
void cleanup_module(void)
{
int resclean;
printk("<0>BYE DEAR unloading...\n");
resclean = unregister_chrdev(25
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>>> On Thursday 01 Apr 2004 7:02 pm, sa <[EMAIL PROTECTED]> said:
sa>
sa> I m making device driver in linux by using FEDORA CORE 1, but when i
was sa> compiling the following module :
[snip]
sa>
sa> I was getting the error.PLEASE he
I m making device driver in linux by using FEDORA CORE 1, but when i was
compiling the following module :
//*** Start **//
#define MODULE
#include
#include
static int lp_open(struct inode * inode, struct file * file);
static struct file_operations lp_fops =