From: Rob Clark Date: Tue, 6 Mar 2012 16:20:36 +0000 (-0600) Subject: drm: cope with platformdev->id == -1 X-Git-Tag: v3.4-rc1~143^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b19c19afa880105179b3c25e57b169c8fcda334c;p=pandora-kernel.git drm: cope with platformdev->id == -1 If there are not multiple instances of a platform device, the id should apparently be set to -1. Which results in a odd looking bus-id like "platform:foodrm:-1". Probably we should just treat this case as id 0. Signed-off-by: Rob Clark Signed-off-by: Dave Airlie --- Reading git-diff-tree failed