[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 <[email protected]>

Fix up users of ->hpa to use ->hpa.start instead.

Signed-off-by: Matthew Wilcox <[email protected]>

Signed-off-by: Kyle McMartin <[email protected]>
This commit is contained in:
Matthew Wilcox 2005-10-21 22:36:40 -04:00 • committed by Kyle McMartin
commit 53f01bba49
23 changed files with 60 additions and 55 deletions

View file

@ -1,7 +1,7 @@
#include <linux/device.h>
struct parisc_device {
unsigned long hpa; /* Hard Physical Address */
struct resource hpa; /* Hard Physical Address */
struct parisc_device_id id;
struct parisc_driver *driver; /* Driver for this device */
char name[80]; /* The hardware description */