drm/i915/guc: Make intel_guc_recv static.
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 20 Dec 2016 11:55:31 +0000 (11:55 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 3 Jan 2017 10:16:12 +0000 (10:16 +0000)
commitbae3fdce06146ea98c86f4659aa3ca7bced8588e
tree0f02052a5b9a560367c6def902c9eb51a232347c
parent1c74eeaf16b8901b9bdb1901e1a8533a2281845a
drm/i915/guc: Make intel_guc_recv static.

This function is only used by intel_guc_send() and it doesn't
need to be exposed outside of intel_uc.o file. Also when defined
as static, compiler will generate smaller code. Additionally let
it take guc param instead dev_priv to match function name.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161220115531.76120-1-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_uc.c
drivers/gpu/drm/i915/intel_uc.h