[PATCH] drm: cope with platformdev->id == -1

2012-03-06 Thread Rob Clark
From: Rob Clark 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 --- drivers/gpu/drm/drm_platform.c | 1

[PATCH] drm: cope with platformdev->id == -1

2012-03-06 Thread Rob Clark
From: Rob Clark 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 --- drivers/gpu/drm/drm_platform.c | 1