commit | eadcf0d704a46979c29984fa05f1fc413c775bcb | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Wed Jul 02 12:46:22 2008 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jul 21 21:55:03 2008 -0700 |
tree | 79d417f4d98321929bde702fe1ff7f13ed27f465 | |
parent | 89bcb05d9bbf8bd559988bca4f2579defd28d008 [diff] [blame] |
MTD: handle pci_name() being const This changes the MTD core to handle pci_name() now returning a constant string. Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h index a9fae03..9c1d954 100644 --- a/include/linux/mtd/map.h +++ b/include/linux/mtd/map.h
@@ -189,7 +189,7 @@ */ struct map_info { - char *name; + const char *name; unsigned long size; resource_size_t phys; #define NO_XIP (-1UL)