loader: fixup driver names if needed
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 9 Nov 2016 14:50:07 +0000 (15:50 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 15 Nov 2016 15:59:23 +0000 (15:59 +0000)
commite4b01c97c490bba712b05a20d088842384833275
treea00cff78558b6c12f77fa0bdd0b561b3982ea3a4
parent1a21d21580965eff751414d140b3c176eeee2eb3
loader: fixup driver names if needed

This makes it possible to 'use' the imx-drm driver. Remeber that it
is not possible to have sysmbol names in C/C++ with a '-' in it.

Changes since v1:
 - move the fix to loader.c

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (v1)
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/loader/loader.c