drm/amdgpu: fix over allocating of IRQ sources
authorChristian König <christian.koenig@amd.com>
Wed, 5 Apr 2017 09:46:12 +0000 (11:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Apr 2017 17:27:20 +0000 (13:27 -0400)
commit6e3f187cc0b434012fdca272c332b1251ce7f7ff
tree9c50dab0fe6b2a0c4423a013f07ebe0e74d8aa63
parent8b5de0ebe420aa57f962dcd9777298d3ae55953f
drm/amdgpu: fix over allocating of IRQ sources

We need an array of pointers to IRQ sources, not an array of sources.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c