Re: [PATCH v1 2/2] OMAP3: add platform devices for ETM and ETB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux