Hai
When i compile the board-omap3beagle-camera.c,i get the following errors in mux file.
arch/arm/mach-omap2/mux.h:96: error: redefinition of 'struct omap_board_data'
arch/arm/mach-omap2/mux.h:113: error: redefinition of 'struct omap_mux_partition'
arch/arm/mach-omap2/mux.h:131: error: redefinition of 'struct omap_mux'
.................................So i go through the mux.h file in location mach-omap2 directory,in that file there are two header files were added for mux.
1)#include <../arch/arm/mach-omap2/mux.h>, 2)#include "mux.h" as below shown in camerea.c file
#include <../arch/arm/mach-omap2/mux.h>
/* Include V4L2 ISP-Camera driver related header file */
#include <../drivers/media/video/omap34xxcam.h>
#include <../drivers/media/video/isp/ispreg.h>
#include "mux.h"
what is the reason of 2 files for mux configuration.Anybody can clear my doubts
Thanks in advance.