浏览代码

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

Cc: mporter@kernel.crashing.org
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Kay Sievers 16 年之前
父节点
当前提交
37f105448e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/rapidio/rio-driver.c

+ 1 - 1
drivers/rapidio/rio-driver.c

@@ -193,7 +193,7 @@ static int rio_match_bus(struct device *dev, struct device_driver *drv)
 }
 }
 
 
 static struct device rio_bus = {
 static struct device rio_bus = {
-	.bus_id = "rapidio",
+	.init_name = "rapidio",
 };
 };
 
 
 struct bus_type rio_bus_type = {
 struct bus_type rio_bus_type = {