On Mon, Dec 20, 2010 at 03:41:18PM +0800, Ming Lei wrote:
I think we can, instead, move all of those "the following field is only
used by tusb" to tusb glue layer. Put those on struct tusb_glue and
access them only from there.
If so, we need to access tusb specific type from musb core or musb dma,
seems not good since musb core or musb dma have to know if the current
glue driver is tusb, right?
Not necessarily, we can ask glue layer to write correct registers with
function pointers, for instance. But, like I said, I quickly looked at
that code, could be that it'd be a lot of work.
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html