linux-next: build warning after merge of the drm tree

From: Stephen Rothwell
Date: Sun Jun 18 2017 - 21:40:57 EST


Hi Dave,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/gpu/drm/i915/intel_dp.c:1551:12: warning: 'rate_to_index' defined but not used [-Wunused-function]
static int rate_to_index(int find, const int *rates)
^

Introduced by commit

925344ccc91d ("BackMerge tag 'v4.12-rc5' into drm-next")

This commit reintroduced the above function after it was renamed and
moved by commit

8001b7541aa7 ("drm/i915/dp: rename rate_to_index() to intel_dp_rate_index() and reuse")

--
Cheers,
Stephen Rothwell