Skip to contentSkip to conversation

rapidio: struct device - replace bus_id with dev_name(), dev_set_name()

PATCH Kay Sievers 1 participant 1 message Jan 25, 2009 Rapidio

lore
Share & tools
lore
#0 lore raw

From: Kay Sievers <[email protected]>
Subject: rapidio: struct device - replace bus_id with dev_name(), dev_set_name()

---
 drivers/rapidio/rio-driver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rapidio/rio-driver.c +1 -1
@@ -193,7 +193,7 @@ static int rio_match_bus(struct device *
 }
 
 static struct device rio_bus = {
-	.bus_id = "rapidio",
+	.init_name = "rapidio",
 };
 
 struct bus_type rio_bus_type = {