[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
@@ -98,7 +98,7 @@ MODULE_DEVICE_TABLE(parisc, lasi700_ids);
|
||||
static int __init
|
||||
lasi700_probe(struct parisc_device *dev)
|
||||
{
|
||||
unsigned long base = dev->hpa + LASI_SCSI_CORE_OFFSET;
|
||||
unsigned long base = dev->hpa.start + LASI_SCSI_CORE_OFFSET;
|
||||
struct NCR_700_Host_Parameters *hostdata;
|
||||
struct Scsi_Host *host;
|
||||
|
||||
|
Reference in New Issue
Block a user