X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fpnp%2Fsystem.c;h=59b90922da8c324529c4d198c23b54211168f23f;hb=c85e37c51e7feecbe758e16ecaaa55cea1682e47;hp=764f3a3106854056d3acec26ce77068908b0eb58;hpb=ba88b0029fcdc39d23acd4d0e64b38145ffa4d5f;p=linux-2.6-omap-h63xx.git diff --git a/drivers/pnp/system.c b/drivers/pnp/system.c index 764f3a31068..59b90922da8 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);