mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
pcmcia: Use phys_addr_t for physical addresses
Physical addresses are currently represented as int or long types. However, this does not work for processors like the PPC440EPx, which is a 32-bit processor with a 36-bit address space. This patch uses the phys_addr_t type, which correctly holds a 36-bit address on this processor. Signed-off-by: Steven A. Falco <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
a0779327d2
commit
1d80766554
1 changed files with 2 additions and 2 deletions
|
|
@ -90,14 +90,14 @@ typedef struct pccard_io_map {
|
|||
u_char map;
|
||||
u_char flags;
|
||||
u_short speed;
|
||||
u_int start, stop;
|
||||
phys_addr_t start, stop;
|
||||
} pccard_io_map;
|
||||
|
||||
typedef struct pccard_mem_map {
|
||||
u_char map;
|
||||
u_char flags;
|
||||
u_short speed;
|
||||
u_long static_start;
|
||||
phys_addr_t static_start;
|
||||
u_int card_start;
|
||||
struct resource *res;
|
||||
} pccard_mem_map;
|
||||
|
|
|
|||
Loading…
Reference in a new issue