drm/pci: add missing variable initialization
authorJingoo Han <jg1.han@samsung.com>
Thu, 29 Nov 2012 04:26:05 +0000 (13:26 +0900)
committerDave Airlie <airlied@redhat.com>
Thu, 29 Nov 2012 08:20:31 +0000 (18:20 +1000)
commitca062415338b62a3688528d4a298db733ad27003
tree985d9f078d2d53345dc45f8f8e67202ea53a50c9
parenta8f559efb26f0d19abd819b1d59b2564f4bfa7e8
drm/pci: add missing variable initialization

Fixed build warning as below:

drivers/gpu/drm/drm_pci.c: In function 'drm_pcie_get_speed_cap_mask':
drivers/gpu/drm/drm_pci.c:496:9: warning: 'lnkcap' may be used uninitialized in this function [-Wuninitialized]
drivers/gpu/drm/drm_pci.c:497:10: warning: 'lnkcap2' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_pci.c