2009-01-25 22:56:30

by Kay Sievers

[permalink] [raw]
Subject: rapidio: struct device - replace bus_id with dev_name(), dev_set_name()

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

Cc: [email protected]
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Kay Sievers <[email protected]>
---
drivers/rapidio/rio-driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/rapidio/rio-driver.c
+++ b/drivers/rapidio/rio-driver.c
@@ -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 = {