summaryrefslogtreecommitdiff
path: root/drivers/pci/pci_common.c
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2016-02-16 23:29:31 +0100
committerTom Rini <trini@konsulko.com>2016-02-24 18:43:59 -0500
commited48899c1173cf0767d85f389650f544ce846006 (patch)
tree9b7c5db317dc0de1fb3cdf8a2dd9da92e1c3d87c /drivers/pci/pci_common.c
parent2e33df807c4177c2674bc79e95a3678e5fa0dc78 (diff)
downloadu-boot-imx-ed48899c1173cf0767d85f389650f544ce846006.zip
u-boot-imx-ed48899c1173cf0767d85f389650f544ce846006.tar.gz
u-boot-imx-ed48899c1173cf0767d85f389650f544ce846006.tar.bz2
pci_rom: fix may be used uninitialized warning
Building pci_rom.c with my toolchain complains about may be used uninitialized rom varaible: ---8<--- +drivers/pci/pci_rom.c:269:25: note: 'rom' was declared here w+drivers/pci/pci_rom.c: In function 'dm_pci_run_vga_bios': w+drivers/pci/pci_rom.c:154:14: warning: 'rom' may be used uninitialized in this function [-Wmaybe-uninitialized] --->8--- Fix this as done in 55616b86c745fcac5a791268ab8e7cba36965c0f the ram variable. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/pci/pci_common.c')
0 files changed, 0 insertions, 0 deletions