Hi, On Mon, Jul 06, 2009 at 10:55:05AM +0200, ext Gupta, Ajay Kumar wrote: > Looks better but if USB itself is not included in the build then this part of code would be unnecessary in board-omap3evm.c. We again need to add some #ifdef there to avoid this. > > Another solution is to add something like board_is_omap3evm() in <mach/board.h> and use them in usb-ehci.c. > > Felipe, what do you suggest? how about passing setup() and cleanup() function pointers from board-file to the driver via platform_data ? the board-specific setup() could handle the mux config then. -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html