[PATCH 2/2] powerpc/shared/bootloader/pci.c: Remove warnings
Joel Sherrill
joel.sherrill at oarcorp.com
Sun Mar 8 16:19:32 UTC 2015
---
c/src/lib/libbsp/powerpc/shared/bootloader/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/shared/bootloader/pci.c b/c/src/lib/libbsp/powerpc/shared/bootloader/pci.c
index 59bf862..0c9472e 100644
--- a/c/src/lib/libbsp/powerpc/shared/bootloader/pci.c
+++ b/c/src/lib/libbsp/powerpc/shared/bootloader/pci.c
@@ -67,7 +67,7 @@ typedef struct _pci_area_head {
#define PCI_AREA_IO 2
struct _pci_private {
- volatile u_int * config_addr;
+ volatile void * config_addr;
volatile u_char * config_data;
struct pci_dev **last_dev_p;
struct pci_bus pci_root;
@@ -1328,7 +1328,7 @@ void pci_init(void)
* but we should not use residual data in
* this case anyway.
*/
- pci->config_addr = ((volatile u_int *)
+ pci->config_addr = ((volatile void *)
(ptr_mem_map->io_base+0xcf8));
pci->config_data = ptr_mem_map->io_base+0xcfc;
} else if(hostbridge->DeviceId.Interface==PCIBridgeDirect) {
--
1.9.3
More information about the devel
mailing list