From: Kay Sievers Date: Tue, 24 Mar 2009 23:38:21 +0000 (-0700) Subject: rapidio: struct device - replace bus_id with dev_name(), dev_set_name() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37f105448eac49073c3ff9f101553aad845d24eb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git rapidio: struct device - replace bus_id with dev_name(), dev_set_name() Cc: mporter@kernel.crashing.org Acked-by: Greg Kroah-Hartman Signed-off-by: Kay Sievers --- diff --git a/drivers/rapidio/rio-driver.c b/drivers/rapidio/rio-driver.c index addb87cf44d9..3222fa3c808c 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 = {