summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-12-04 10:01:52 -0800
committerPaul Mackerras <paulus@samba.org>2008-12-16 15:53:41 +1100
commitb53c7583e26746ef6f66c866841e10450150ed8e (patch)
tree3d50aed340e9f2c5f3e8ebc481f4a3737a45eea8 /include
parentaab0d375e01d8c16e7e5b9bd915dfaa0a815418f (diff)
downloadkernel-common-b53c7583e26746ef6f66c866841e10450150ed8e.tar.gz
kernel-common-b53c7583e26746ef6f66c866841e10450150ed8e.tar.bz2
kernel-common-b53c7583e26746ef6f66c866841e10450150ed8e.zip
rapidio: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/rio_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/rio_drv.h b/include/linux/rio_drv.h
index 90987b7bcc1b..32c0547ffafc 100644
--- a/include/linux/rio_drv.h
+++ b/include/linux/rio_drv.h
@@ -427,9 +427,9 @@ void rio_dev_put(struct rio_dev *);
* Get the unique RIO device identifier. Returns the device
* identifier string.
*/
-static inline char *rio_name(struct rio_dev *rdev)
+static inline const char *rio_name(struct rio_dev *rdev)
{
- return rdev->dev.bus_id;
+ return dev_name(&rdev->dev);
}
/**