ChangeSet 1.2038, 2005/03/09 09:32:19-08:00, [EMAIL PROTECTED] [PATCH] driver core: Separate platform device name from platform device number
Separate platform device name from platform device number such that names ending with numbers aren't confusing. Signed-off-by: Russell King <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> drivers/base/platform.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/base/platform.c b/drivers/base/platform.c --- a/drivers/base/platform.c 2005-03-09 16:30:02 -08:00 +++ b/drivers/base/platform.c 2005-03-09 16:30:02 -08:00 @@ -131,7 +131,7 @@ pdev->dev.bus = &platform_bus_type; if (pdev->id != -1) - snprintf(pdev->dev.bus_id, BUS_ID_SIZE, "%s%u", pdev->name, pdev->id); + snprintf(pdev->dev.bus_id, BUS_ID_SIZE, "%s.%u", pdev->name, pdev->id); else strlcpy(pdev->dev.bus_id, pdev->name, BUS_ID_SIZE); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/