[PARISC] Convert parisc_device to use struct resource for hpa
Convert pa_dev->hpa from an unsigned long to a struct resource. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Fix up users of ->hpa to use ->hpa.start instead. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
committed by
Kyle McMartin
parent
bdad1f836a
commit
53f01bba49
@@ -175,7 +175,7 @@ lasi_init_chip(struct parisc_device *dev)
|
||||
return -ENOMEM;
|
||||
|
||||
lasi->name = "Lasi";
|
||||
lasi->hpa = dev->hpa;
|
||||
lasi->hpa = dev->hpa.start;
|
||||
|
||||
/* Check the 4-bit (yes, only 4) version register */
|
||||
lasi->version = gsc_readl(lasi->hpa + LASI_VER) & 0xf;
|
||||
|
Reference in New Issue
Block a user