2009/10/11 Alexander Shishkin <virtuoso@xxxxxxxxx>: > This enables debug components found in omap3xxx. > (...) > +static struct resource rx51_etb_resource = { > + .start = ETB_BASE, > + .end = ETB_BASE + SZ_4K, .end = ETB_BASE + SZ_4K - 1 This will play with the resource paradigm and resource_size() will work correctly in the driver after this. > + .flags = IORESOURCE_MEM, > +}; > + >(...) > + > +static struct resource rx51_etm_resource = { > + .start = ETM_BASE, > + .end = ETM_BASE + SZ_4K, Ditto. > + .flags = IORESOURCE_MEM, > +}; Linus Walleij -- 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