drm/amdkfd: don't set get_pipes_num() as inline
authorOded Gabbay <oded.gabbay@amd.com>
Tue, 17 Feb 2015 09:30:31 +0000 (11:30 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Mon, 23 Feb 2015 08:48:02 +0000 (10:48 +0200)
commit64ea8f4af57cee9f8b0bf542819b41ee82acfcb9
treed4e084d1dd601a6dcbb3fa077c1121e1b35d97c6
parent1365aa6266fad0669487240af3f098593796172c
drm/amdkfd: don't set get_pipes_num() as inline

get_pipes_num() calls BUG_ON so we can't set it as inline because it produces a
warning as BUG_ON() uses static variables when it is expanded.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h