commit | b19c19afa880105179b3c25e57b169c8fcda334c | [log] [tgz] |
---|---|---|
author | Rob Clark <rob@ti.com> | Tue Mar 06 10:20:36 2012 -0600 |
committer | Dave Airlie <airlied@redhat.com> | Wed Mar 07 14:03:40 2012 +0000 |
tree | 7865567a22ff38c4cce39ade316f46b872e99291 | |
parent | 966e0cdd504657333415f43de6a219197511ebff [diff] |
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 <rob@ti.com> Signed-off-by: Dave Airlie <airlied@redhat.com>