diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-02 15:46:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-22 00:55:03 -0400 |
commit | eadcf0d704a46979c29984fa05f1fc413c775bcb (patch) | |
tree | 79d417f4d98321929bde702fe1ff7f13ed27f465 /include/linux/mtd/map.h | |
parent | 89bcb05d9bbf8bd559988bca4f2579defd28d008 (diff) |
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>
Diffstat (limited to 'include/linux/mtd/map.h')
-rw-r--r-- | include/linux/mtd/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h index a9fae032ba81..9c1d95491f8b 100644 --- a/include/linux/mtd/map.h +++ b/include/linux/mtd/map.h | |||
@@ -189,7 +189,7 @@ typedef union { | |||
189 | */ | 189 | */ |
190 | 190 | ||
191 | struct map_info { | 191 | struct map_info { |
192 | char *name; | 192 | const char *name; |
193 | unsigned long size; | 193 | unsigned long size; |
194 | resource_size_t phys; | 194 | resource_size_t phys; |
195 | #define NO_XIP (-1UL) | 195 | #define NO_XIP (-1UL) |