summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-03-24 16:38:21 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-24 16:38:21 -0700
commit37f105448eac49073c3ff9f101553aad845d24eb (patch)
tree355ff7cdef6810cf71bdfa88725fbc66d1746e7b /drivers/rapidio
parent54cc6954a431dad42fb73e0a50b6d318a70594f6 (diff)
downloadop-kernel-dev-37f105448eac49073c3ff9f101553aad845d24eb.zip
op-kernel-dev-37f105448eac49073c3ff9f101553aad845d24eb.tar.gz
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>
Diffstat (limited to 'drivers/rapidio')
-rw-r--r--drivers/rapidio/rio-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rapidio/rio-driver.c b/drivers/rapidio/rio-driver.c
index addb87c..3222fa3 100644
--- a/drivers/rapidio/rio-driver.c
+++ b/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 = {
- .bus_id = "rapidio",
+ .init_name = "rapidio",
};
struct bus_type rio_bus_type = {
OpenPOWER on IntegriCloud