X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fmtd%2Fmaps%2Fpxa2xx-flash.c;h=9aad854fe9121aaa821181bffe64e819ec0e8498;hb=0e47c969c65e213421450c31043353ebe3c67e0c;hp=0f55589a56b815af4c00bc521c504db468774fa5;hpb=8e5096607280d4e103389bfe8f8b7decbf538ff6;p=~andy%2Flinux diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c index 0f55589a56b..9aad854fe91 100644 --- a/drivers/mtd/maps/pxa2xx-flash.c +++ b/drivers/mtd/maps/pxa2xx-flash.c @@ -61,7 +61,7 @@ static int pxa2xx_flash_probe(struct platform_device *pdev) if (!info) return -ENOMEM; - info->map.name = (char *) flash->name; + info->map.name = flash->name; info->map.bankwidth = flash->width; info->map.phys = res->start; info->map.size = resource_size(res);