From: David Herrmann Date: Fri, 29 Aug 2014 10:12:43 +0000 (+0200) Subject: drm: add driver->set_busid() callback X-Git-Tag: fixes-against-v3.18-rc2~73^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=915b4d11b8b9e7b84ba4a4645b6cc7fbc0c071cf;p=pandora-kernel.git drm: add driver->set_busid() callback One step closer to dropping all the drm_bus_* code: Add a driver->set_busid() callback and make all drivers use the generic helpers. Nouveau is the only driver that uses two different bus-types with the same drm_driver. This is totally broken if both buses are available on the same machine (unlikely, but lets be safe). Therefore, we create two different drivers for each platform during module_init() and set the set_busid() callback respectively. Signed-off-by: David Herrmann Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie --- Reading git-diff-tree failed