]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/maps/integrator-flash.c
Merge branch 'simplify_PRT' into release
[karo-tx-linux.git] / drivers / mtd / maps / integrator-flash.c
index ee361aaadb1e19a7620de24f2a05aad9fbb48edb..d2ec262666c7135fc245aa90f0a0b4dc404350b7 100644 (file)
@@ -37,7 +37,7 @@
 #include <linux/mtd/partitions.h>
 
 #include <asm/mach/flash.h>
-#include <asm/hardware.h>
+#include <mach/hardware.h>
 #include <asm/io.h>
 #include <asm/system.h>
 
@@ -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);