ARM: OMAP2+: Fix uninitialized sr_inst
[ Upstream commitfc85dc42a3] Fix uninitialized sr_inst. Fixes:fbfa463be8("ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
1fc087fdb9
commit
4f90db2e92
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ static const char * const dra7_sr_instances[] = {
|
|||
|
||||
int __init omap_devinit_smartreflex(void)
|
||||
{
|
||||
const char * const *sr_inst;
|
||||
const char * const *sr_inst = NULL;
|
||||
int i, nr_sr = 0;
|
||||
|
||||
if (soc_is_omap44xx()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue