Rename i2f() to int2float(), and make it global so one copy can be removed.
authorSteven Fuerst <svfuerst@gmail.com>
Wed, 15 Aug 2012 22:07:14 +0000 (15:07 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Sep 2012 17:10:33 +0000 (13:10 -0400)
commit7ff64fcaa7b7ba62d12758e49643f31dd9e90ece
treee5deb48d04a5c5409cf960077918752147908293
parentee93b86be118dcdec1a8e29983ed1d010c71bfee
Rename i2f() to int2float(), and make it global so one copy can be removed.

Remove the copy of i2f() in r600_blit_kms.c
We rename the function to something longer now that it is a global
symbol.  This reduces the likelyhood of unintended clashes later.

This might be a candidate for inclusion inside general drm infrastructure.
However, at the moment only the radeon driver uses it.

Signed-off-by: Steven Fuerst <svfuerst@gmail.com>
drivers/gpu/drm/radeon/r600_blit.c
drivers/gpu/drm/radeon/r600_blit_kms.c
drivers/gpu/drm/radeon/r600_blit_shaders.h