How to compile the MVL4.0 device driver withMVL5.0?
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to compile the MVL4.0 device driver withMVL5.0?
Hi
I am new to linux device driver and i hv the working code of linux device driver(.ko) which runs on the MVL4.0 but i want to run in on the MVL5.0. i tried to compile it with the MVL5.0 kernel and tool chain but it give me the following error
error: linux/devfs_fs_kernel.h: No such file or directory
this file is already included in the one of the driver source file can any one tell me how can remove this error and if i commented out this file does my device driver will get the entry in dev fs???
thank you knudfl for reply.
i hv commented out the linux/devfs_fs_kernel.h file.
but in my device driver source code "devfs_mk_cdev" and "devfs_remove" call is used. now i am getting the undefined warning messages.
can you tell me wht this two call actually do and how can i remove this warning msg ?
thanx for reply..
as i am new to this linux device driver. can u help me to know how can i get the device driver entry at /dev/drivername ? using the /udev/sysfs ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.