Skip to content
Snippets Groups Projects
Commit ee2e185f authored by Allen Martin's avatar Allen Martin Committed by Tom Warren
Browse files

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: default avatarAllen Martin <amartin@nvidia.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent b2f98938
No related branches found
No related tags found
No related merge requests found
...@@ -257,7 +257,7 @@ static int decode_emc(const void *blob, unsigned rate, struct emc_ctlr **emcp, ...@@ -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) int tegra_set_emc(const void *blob, unsigned rate)
{ {
struct emc_ctlr *emc; struct emc_ctlr *emc;
const u32 *table; const u32 *table = NULL;
int err, i; int err, i;
err = decode_emc(blob, rate, &emc, &table); err = decode_emc(blob, rate, &emc, &table);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment