diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-23 10:00:14 +0000 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-12-23 10:00:14 +0000 |
commit | 160bbab3000dafccbe43688e48208cecf4deb879 (patch) | |
tree | 64e978ecc07d9d1f1a1345db40fc50e818321d57 /drivers/mtd/maps/integrator-flash.c | |
parent | d85316ac459f1cdd14ea1828eebeac1f1028e167 (diff) | |
download | blackbird-op-linux-160bbab3000dafccbe43688e48208cecf4deb879.tar.gz blackbird-op-linux-160bbab3000dafccbe43688e48208cecf4deb879.zip |
[MTD] 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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/integrator-flash.c')
-rw-r--r-- | drivers/mtd/maps/integrator-flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/integrator-flash.c b/drivers/mtd/maps/integrator-flash.c index 7100ee3c7b01..d2ec262666c7 100644 --- a/drivers/mtd/maps/integrator-flash.c +++ b/drivers/mtd/maps/integrator-flash.c @@ -105,7 +105,7 @@ static int armflash_probe(struct platform_device *dev) info->map.bankwidth = plat->width; info->map.phys = res->start; info->map.virt = base; - info->map.name = dev->dev.bus_id; + info->map.name = dev_name(&dev->dev); info->map.set_vpp = armflash_set_vpp; simple_map_init(&info->map); |