diff options
| author | Allen Martin <[email protected]> | 2012-10-19 21:18:03 +0000 |
|---|---|---|
| committer | Tom Warren <[email protected]> | 2012-10-29 09:07:06 -0700 |
| commit | ee2e185f62d7b9962fa295acbb55688fbace4ad4 (patch) | |
| tree | 3224518956561ecc4877aa10a4cd9ff70b0ab9aa | |
| parent | b2f9893826c48f2653d4a1ffaff8623fdec22303 (diff) | |
tegra20: initialize variable to avoid compiler warning
Initialize this variable to avoid a compiler warning about possible
use of uninitialized variable with gcc 4.4.6.
Signed-off-by: Allen Martin <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Acked-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
| -rw-r--r-- | arch/arm/cpu/tegra20-common/emc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/tegra20-common/emc.c b/arch/arm/cpu/tegra20-common/emc.c index 97420d70661..90edf00a5e3 100644 --- a/arch/arm/cpu/tegra20-common/emc.c +++ b/arch/arm/cpu/tegra20-common/emc.c @@ -257,7 +257,7 @@ static int decode_emc(const void *blob, unsigned rate, struct emc_ctlr **emcp, int tegra_set_emc(const void *blob, unsigned rate) { struct emc_ctlr *emc; - const u32 *table; + const u32 *table = NULL; int err, i; err = decode_emc(blob, rate, &emc, &table); |
