drm: add driver->set_busid() callback
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / drm_platform.c
index f197a2b6911a1bec359044e0171772c530161ecc..939cd2272b91725db847f198aaba1e67b05d9044 100644 (file)
@@ -68,7 +68,7 @@ err_free:
        return ret;
 }
 
-static int drm_platform_set_busid(struct drm_device *dev, struct drm_master *master)
+int drm_platform_set_busid(struct drm_device *dev, struct drm_master *master)
 {
        int id;
 
@@ -84,6 +84,7 @@ static int drm_platform_set_busid(struct drm_device *dev, struct drm_master *mas
        master->unique_len = strlen(master->unique);
        return 0;
 }
+EXPORT_SYMBOL(drm_platform_set_busid);
 
 static struct drm_bus drm_platform_bus = {
        .set_busid = drm_platform_set_busid,