diff options
author | Scott Duplichan <scott@notabs.org> | 2010-10-26 05:26:01 +0000 |
---|---|---|
committer | Scott Duplichan <scott@notabs.org> | 2010-10-26 05:26:01 +0000 |
commit | 45057d2753220dd4100951097d844f56dae93f46 (patch) | |
tree | 4f2db005ef28df279f11606d074ebfb168b06491 /src/southbridge/nvidia/mcp55 | |
parent | 55dc223ccd0bb2a34ec46f36b36b658ecd677c2f (diff) | |
download | coreboot-45057d2753220dd4100951097d844f56dae93f46.tar.xz |
When gcc 4.5.0 is used, compiling mcp55_early_setup_car.c fails. This change eliminates the compiler warning that causes the build to fail.
Signed-off-by: Scott Duplichan <scott@notabs.org>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5988 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/nvidia/mcp55')
-rw-r--r-- | src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c b/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c index 835a9298db..773ad7154f 100644 --- a/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c +++ b/src/southbridge/nvidia/mcp55/mcp55_early_setup_car.c @@ -363,9 +363,9 @@ static void mcp55_early_setup(unsigned mcp55_num, unsigned *busn, unsigned *devn static int mcp55_early_setup_x(void) { /*find out how many mcp55 we have */ - unsigned busn[HT_CHAIN_NUM_MAX]; - unsigned devn[HT_CHAIN_NUM_MAX]; - unsigned io_base[HT_CHAIN_NUM_MAX]; + unsigned busn[HT_CHAIN_NUM_MAX] = {0}; + unsigned devn[HT_CHAIN_NUM_MAX] = {0}; + unsigned io_base[HT_CHAIN_NUM_MAX] = {0}; /* FIXME: May have problem if there is different MCP55 HTX card with different PCI_E lane allocation Need to use same trick about pci1234 to verify node/link connection |