diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-06 19:44:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 19:44:38 +0100 |
commit | 475b44c19913b877537c8bc19799f75b0b142641 (patch) | |
tree | 4049c6a9e17cb62761b9b4b0eb92bf60786af73f /drivers/mtd/nand/plat_nand.c | |
parent | mwave: struct device - replace bus_id with dev_name(), dev_set_name() (diff) | |
download | linux-475b44c19913b877537c8bc19799f75b0b142641.tar.xz linux-475b44c19913b877537c8bc19799f75b0b142641.zip |
mtd: struct device - replace bus_id with dev_name(), dev_set_name()
CC: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mtd/nand/plat_nand.c')
-rw-r--r-- | drivers/mtd/nand/plat_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c index f674c5427b17..75f9f4874ecf 100644 --- a/drivers/mtd/nand/plat_nand.c +++ b/drivers/mtd/nand/plat_nand.c @@ -54,7 +54,7 @@ static int __init plat_nand_probe(struct platform_device *pdev) data->chip.priv = &data; data->mtd.priv = &data->chip; data->mtd.owner = THIS_MODULE; - data->mtd.name = pdev->dev.bus_id; + data->mtd.name = dev_name(&pdev->dev); data->chip.IO_ADDR_R = data->io_base; data->chip.IO_ADDR_W = data->io_base; |