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>
This commit is contained in:
Kay Sievers 2008-12-04 10:01:52 -08:00 committed by Paul Mackerras
parent aab0d375e0
commit b53c7583e2
2 changed files with 6 additions and 6 deletions

View file

@ -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);
}
/**