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)
commit9d98af0bbec8a7a03fc5c72381ec3dd53b8de87d
treea293f8dd937ab1e3f1a66cb409e21e43405e8c34
parent6f9b850bec05ba8b08c504112808973259e41140
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