[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
@@ -444,7 +444,7 @@ static int __init mux_probe(struct parisc_device *dev)
|
||||
unsigned long bytecnt;
|
||||
struct uart_port *port;
|
||||
|
||||
status = pdc_iodc_read(&bytecnt, dev->hpa, 0, iodc_data, 32);
|
||||
status = pdc_iodc_read(&bytecnt, dev->hpa.start, 0, iodc_data, 32);
|
||||
if(status != PDC_OK) {
|
||||
printk(KERN_ERR "Serial mux: Unable to read IODC.\n");
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user