loader: abstract loader_get_kernel_driver_name for reuse
authorQiang Yu <Qiang.Yu@amd.com>
Mon, 6 Aug 2018 03:19:25 +0000 (11:19 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 17 Aug 2018 16:16:32 +0000 (17:16 +0100)
commite8b91e99e9965fa717be25da66fba0cdc3aef5dc
tree1e397156e48ef4981c3a33cf7439b82a5a07612e
parent30b10dbb7c6f6bdf3e489620f8333c727bd3a6dd
loader: abstract loader_get_kernel_driver_name for reuse

This function can be shared by the following kernel_driver
drirc patch.

Signed-off-by: Qiang Yu <Qiang.Yu@amd.com>
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/loader/loader.c