diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-03-05 18:09:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-03-05 18:09:14 +0000 |
commit | da3b8d3ef859b19983c22113f6b783c666a7bbc0 (patch) | |
tree | 51301be86a73cd3090d04729aadc2d57a387358c /c/src/lib/libbsp/powerpc/shared/pci/pci.c | |
parent | 2004-03-05 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-da3b8d3ef859b19983c22113f6b783c666a7bbc0.tar.bz2 |
2004-03-05 Joel Sherrill <joel@OARcorp.com>
* bootloader/pci.c: Remove warnings by adding include <string.h>.
* irq/irq.c: Clean up includes to remove warnings.
* pci/pci.c, pci/pci.h, startup/bspstart.c: Better use of const
on struct _int_map.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/pci/pci.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/pci/pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/pci/pci.c b/c/src/lib/libbsp/powerpc/shared/pci/pci.c index cd4af5a321..ff81df8d65 100644 --- a/c/src/lib/libbsp/powerpc/shared/pci/pci.c +++ b/c/src/lib/libbsp/powerpc/shared/pci/pci.c @@ -236,7 +236,8 @@ const pci_config_access_functions pci_direct_functions = { ** Validate a test interrupt name and print a warning if its not one of ** the names defined in the routing record. */ -static int test_intname( struct _int_map *row, int pbus, int pslot, int int_pin, int int_name ) +static int test_intname( + const struct _int_map *row, int pbus, int pslot, int int_pin, int int_name ) { int j,k; int _nopin= -1, _noname= -1; @@ -333,7 +334,7 @@ static int FindPCIbridge( int mybus, struct pcibridge *pb ) -void FixupPCI( struct _int_map *bspmap, int (*swizzler)(int,int) ) +void FixupPCI( const struct _int_map *bspmap, int (*swizzler)(int,int) ) { unsigned char cvalue; unsigned16 devid; |