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); return 0; }
    >> 
    >> void cleanup_module(void) { int resclean; printk("<0>BYE DEAR
    >> unloading.......\n"); resclean = unregister_chrdev(252,
    >> "SATENDRA PRATAP"); if(resclean<0) printk("<0>ERROR OCCURED
    >> unregistering return < 0 \n"); }
    >> 
    >> 
    >> 
    >> 
    >> //************END*****************//
    >> 
    >> I was getting the error.PLEASE help me as soon as possible.

    Sandip> Have you checked whether register_chrdev() has worked
    Sandip> successfully or not?

-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves

_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to