i'm tring to port mag3110 to imx 53 qsb board by drivers that
presented with this property(downloaded from freescale website):
* File Name : mag_3110.c
* Authors : Rick Zhang(rick.zhang@freescale.com
*******************************************************************
* Revision 1.0.0 3/15/2012 First Release;
******************************************************************************
and i try to port with readme sequence and using ltib(install from freescaleL2.6.35_11_09_ER_SOURCE package) .
but in step 5 of readme sequence(Configure and compile the driver)i have problem in complie ):
--------------------------------
drivers/hwmon/mag3110/mag_core.c:44:31: error: linux/fsl_sensors.h: No
such file or directory
In file included from drivers/hwmon/mag3110/mag_core.c:46:
drivers/hwmon/mag3110/mag_regs.h:33:28: error: linux/wakelock.h: No
such file or directory
-------------------------------------------------
i attached read me file & complete compile error report
Original Attachment has been moved to: mag_3110.c.zip
Original Attachment has been moved to: Readme.txt.zip
Hello Ehsan,
Sorry to hear you ran into this error.
Please try to replace <linux/fsl_sensors.h> to <linux/mag3110.h>.
Let me know whether or not it helps, or if you have any other questions.
Regards,
Tomas
PS: If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.