Thread (19 messages) 19 messages, 5 authors, 2005-03-15

Re: Re: [PATCH][RFC] Add support for Epson S1D13806 FB

From: Paul Mundt <hidden>
Date: 2005-03-14 13:18:43

On Mon, Mar 14, 2005 at 08:15:13PM +0800, Antonino A. Daplas wrote:
3. You can use pci_resource_len()/pci_resource_start() instead of

+	info->fix.mmio_start = pdev->resource[1].start;
+	info->fix.mmio_len = pdev->resource[1].end - pdev->resource[1].start;
+	info->fix.smem_start = pdev->resource[0].start;
+	info->fix.smem_len = pdev->resource[0].end - pdev->resource[0].start;
+
No, the pdev here refers to a platform device, not a pci device.

While the pci_resource_xxx() routines would still technically do the
right thing, this is purely coincidental.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help