|
|
Log in / Subscribe / Register

char device drivers on the 2.6 kernel

char device drivers on the 2.6 kernel

Posted Apr 23, 2007 4:15 UTC (Mon) by psh2001 (guest, #44808)
In reply to: char device drivers on the 2.6 kernel by prashy
Parent article: Porting device drivers to the 2.6 kernel

Hi,

Any one has any solutions for this ?
even i am facing the same issue ...

Thanks,
Shiv


to post comments

char device drivers on the 2.6 kernel

Posted Jun 1, 2007 8:09 UTC (Fri) by hy71 (guest, #45546) [Link]

i am facing the same problem...
could anyone give some suggestion?

thanks a lot!

char device drivers on the 2.6 kernel

Posted Jun 22, 2007 11:54 UTC (Fri) by soorejp (guest, #38041) [Link]

I got these warnings:

include/linux/cdev.h:24: warning: ‘struct inode’ declared inside parameter list
include/linux/cdev.h:24: warning: its scope is only this definition or declaration, which is probably not what you want

I changed the order of header file definition from:
#include <linux/cdev.h>
#include <linux/fs.h>
to
#include <linux/fs.h>
#include <linux/cdev.h>
and the error gone


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds