diff options
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r-- | drivers/mtd/maps/pci.c | 4 | ||||
-rw-r--r-- | drivers/mtd/maps/sc520cdp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c index 8b3570b09095..21822c2edbe4 100644 --- a/drivers/mtd/maps/pci.c +++ b/drivers/mtd/maps/pci.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | * | 9 | * |
10 | * $Id: pci.c,v 1.13 2005/11/07 11:14:27 gleixner Exp $ | 10 | * $Id: pci.c,v 1.14 2005/11/17 08:20:27 dwmw2 Exp $ |
11 | * | 11 | * |
12 | * Generic PCI memory map driver. We support the following boards: | 12 | * Generic PCI memory map driver. We support the following boards: |
13 | * - Intel IQ80310 ATU. | 13 | * - Intel IQ80310 ATU. |
@@ -102,7 +102,7 @@ static void mtd_pci_copyto(struct map_info *_map, unsigned long to, const void * | |||
102 | memcpy_toio(map->base + map->translate(map, to), from, len); | 102 | memcpy_toio(map->base + map->translate(map, to), from, len); |
103 | } | 103 | } |
104 | 104 | ||
105 | static struct map_info mtd_pci_map = { | 105 | static const struct map_info mtd_pci_map = { |
106 | .phys = NO_XIP, | 106 | .phys = NO_XIP, |
107 | .copy_from = mtd_pci_copyfrom, | 107 | .copy_from = mtd_pci_copyfrom, |
108 | .copy_to = mtd_pci_copyto, | 108 | .copy_to = mtd_pci_copyto, |
diff --git a/drivers/mtd/maps/sc520cdp.c b/drivers/mtd/maps/sc520cdp.c index 6fb9f3c57aab..ed92afadd8a9 100644 --- a/drivers/mtd/maps/sc520cdp.c +++ b/drivers/mtd/maps/sc520cdp.c | |||
@@ -16,7 +16,7 @@ | |||
16 | * along with this program; if not, write to the Free Software | 16 | * along with this program; if not, write to the Free Software |
17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
18 | * | 18 | * |
19 | * $Id: sc520cdp.c,v 1.22 2005/11/07 11:14:28 gleixner Exp $ | 19 | * $Id: sc520cdp.c,v 1.23 2005/11/17 08:20:27 dwmw2 Exp $ |
20 | * | 20 | * |
21 | * | 21 | * |
22 | * The SC520CDP is an evaluation board for the Elan SC520 processor available | 22 | * The SC520CDP is an evaluation board for the Elan SC520 processor available |
@@ -164,7 +164,7 @@ struct sc520_par_table | |||
164 | unsigned long default_address; | 164 | unsigned long default_address; |
165 | }; | 165 | }; |
166 | 166 | ||
167 | static struct sc520_par_table par_table[NUM_FLASH_BANKS] = | 167 | static const struct sc520_par_table par_table[NUM_FLASH_BANKS] = |
168 | { | 168 | { |
169 | { /* Flash Bank #0: selected by ROMCS0 */ | 169 | { /* Flash Bank #0: selected by ROMCS0 */ |
170 | SC520_PAR_ROMCS0, | 170 | SC520_PAR_ROMCS0, |