mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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:
parent
bdad1f836a
commit
53f01bba49
23 changed files with 60 additions and 55 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue