summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-07 16:24:40 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-09 16:14:15 -0500
commita1148f366705b400a874e1a8c2cc1371cf54db0e (patch)
tree201c02b64776bef1ed6e9eed597ee494d22c4501
parentshared/include/grcan.h: Add prototypes to fix warnings (diff)
downloadrtems-a1148f366705b400a874e1a8c2cc1371cf54db0e.tar.bz2
powerpc/shared/bootloader/pci.c: Remove warnings
-rw-r--r--c/src/lib/libbsp/powerpc/shared/bootloader/pci.c4
1 files 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 59bf8620fa..0c9472eb30 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) {