> +#if defined(CONFIG_DWC_OTG_REG_LE) Is it really necessary to have everything in the header twice rather than using endian switches in the I/O ?
Also with the code in that form how do you build a single copy of the driver that runs on platforms which may have one or the other endian Finally - we have defines for bitfield direction - because the compiler has a lot of latitude in which way around it packs bitfields. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev