]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/uc: Make intel_uc_prepare_fw() static
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 27 Mar 2017 09:45:10 +0000 (09:45 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Mar 2017 11:48:43 +0000 (12:48 +0100)
commit8125c711fd8ede29b9f1751ac2205818047d35cc
treea293f8dd937ab1e3f1a66cb409e21e43405e8c34
parent17d178df27af0e4699be32fa79a33197d66200b5
drm/i915/uc: Make intel_uc_prepare_fw() static

There is no need to expose this function as it is called from
one function only. Also move it up to avoid forward declaration.

v2: drop intel_ prefix (Oscar) and rename to fetch_uc_fw (Michal)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170327094510.167400-1-michal.wajdeczko@intel.com
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_uc.c
drivers/gpu/drm/i915/intel_uc.h