diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-06 21:44:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 21:44:38 +0300 |
commit | c85e37c51e7feecbe758e16ecaaa55cea1682e47 (patch) | |
tree | f1f126d91a5fc8194c7aab11d6ddab3a5895cdf7 /drivers/pnp/system.c | |
parent | ba88b0029fcdc39d23acd4d0e64b38145ffa4d5f (diff) | |
download | linux-c85e37c51e7feecbe758e16ecaaa55cea1682e47.tar.xz |
pnp: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pnp/system.c')
-rw-r--r-- | drivers/pnp/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/system.c b/drivers/pnp/system.c index 764f3a310685..59b90922da8c 100644 --- a/drivers/pnp/system.c +++ b/drivers/pnp/system.c @@ -26,7 +26,7 @@ static void reserve_range(struct pnp_dev *dev, resource_size_t start, resource_size_t end, int port) { char *regionid; - const char *pnpid = dev->dev.bus_id; + const char *pnpid = dev_name(&dev->dev); struct resource *res; regionid = kmalloc(16, GFP_KERNEL); |