hii
when i m trying compile ili9341.c driver on imx233 its producing error plz tell me how to resolve find the attach driver
make[1]: Entering directory `/usr/src/linux-2.6.35-8-ARCH+'
make[1]: Warning: File `/usr/src/linux-2.6.35-8-ARCH+/arch/arm/Makefile' has modification time 1348222983 s in the future
make[2]: Warning: File `scripts/Makefile.lib' has modification time 1348220769 s in the future
CC [M] /home/ili9341/ili93411.o
In file included from /home/ili9341/ili9341.c:13:0:
/home/ili9341/fb.h:829:27: warning: declaration does not declare anything [enabled by default]
/home/ili9341/fb.h:872:1: warning: useless storage class specifier in empty declaration [enabled by default]
/home/ili9341/ili93411.c:393:1: warning: initialization from incompatible pointer type [enabled by default]
/home/ili9341/ili93411.c:393:1: warning: (near initialization for �..ili9341_ops.fb_read�..) [enabled by default]
/home/ili9341/ili93411.c:399:8: error: variable �..ili9341_defio�.. has initializer but incomplete type
/home/ili9341/ili93411.c:400:1: error: unknown field �..delay�.. specified in initializer
/home/ili9341/ili93411.c:400:1: warning: excess elements in struct initializer [enabled by default]
/home/ili9341/ili93411.c:400:1: warning: (near initialization for �..ili9341_defio�..) [enabled by default]
/home/ili9341/ili93411.c:401:1: error: unknown field �..deferred_io�.. specified in initializer
/home/ili9341/ili93411.c:401:1: warning: excess elements in struct initializer [enabled by default]
/home/ili9341/ili93411.c:401:1: warning: (near initialization for �..ili9341_defio�..) [enabled by default]
/home/ili9341/ili93411.c: In function �..ili9341_probe�..:
/home/ili9341/ili93411.c:411:1: error: implicit declaration of function �..vzalloc�.. [-Werror=implicit-function-declaration]
/home/ili9341/ili93411.c:411:6: warning: assignment makes pointer from integer without a cast [enabled by default]
/home/ili9341/ili93411.c:430:14: error: dereferencing pointer to incomplete type
/home/ili9341/ili93411.c: At top level:
/home/ili9341/ili93411.c:190:13: warning: �..ili9341_update_display_area�.. defined but not used [-Wunused-function]
/home/ili9341/ili93411.c:223:13: warning: �..ili9341_update_display_color_area�.. defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[2]: *** [/home/ili9341/ili93411.o] Error 1
make[1]: *** [_module_/home/ili9341] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-8-ARCH+'
make: *** [all] Error 2
THANKS & regards
Original Attachment has been moved to: ili93411.c.zip
Hi Pramod
seems it is easier to reuse driver for i.MX23 EVK IMX23_EVK16_DESIGN_FILES:
check attached document sect.10.3 Source Code Structure for
linux L2.6.31_10.05.00_SDK_SOURCE and adjust timings described in
AN3974 sect.3.3 Panel Configurations in driver struct fb_videomode.
Note if you are using different pins than i.MX23 EVK, one needs to
modify mux settings in ..arch/arm/mach-mx23/mx23evk_pins.c
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------