diff options
Diffstat (limited to 'drivers/mtd/maps/gpio-addr-flash.c')
-rw-r--r-- | drivers/mtd/maps/gpio-addr-flash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/maps/gpio-addr-flash.c b/drivers/mtd/maps/gpio-addr-flash.c index 7b643de2500b..5ede28294f9e 100644 --- a/drivers/mtd/maps/gpio-addr-flash.c +++ b/drivers/mtd/maps/gpio-addr-flash.c | |||
@@ -157,7 +157,8 @@ static void gf_copy_to(struct map_info *map, unsigned long to, | |||
157 | memcpy_toio(map->virt + (to % state->win_size), from, len); | 157 | memcpy_toio(map->virt + (to % state->win_size), from, len); |
158 | } | 158 | } |
159 | 159 | ||
160 | static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL }; | 160 | static const char * const part_probe_types[] = { |
161 | "cmdlinepart", "RedBoot", NULL }; | ||
161 | 162 | ||
162 | /** | 163 | /** |
163 | * gpio_flash_probe() - setup a mapping for a GPIO assisted flash | 164 | * gpio_flash_probe() - setup a mapping for a GPIO assisted flash |