diff options
Diffstat (limited to 'drivers/mtd/nand/atmel_nand.c')
-rw-r--r-- | drivers/mtd/nand/atmel_nand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 90bdca61c797..c516a9408087 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c | |||
@@ -338,7 +338,7 @@ static int pmecc_get_ecc_bytes(int cap, int sector_size) | |||
338 | } | 338 | } |
339 | 339 | ||
340 | static void pmecc_config_ecc_layout(struct nand_ecclayout *layout, | 340 | static void pmecc_config_ecc_layout(struct nand_ecclayout *layout, |
341 | int oobsize, int ecc_len) | 341 | int oobsize, int ecc_len) |
342 | { | 342 | { |
343 | int i; | 343 | int i; |
344 | 344 | ||
@@ -1213,7 +1213,7 @@ static void atmel_nand_hwctl(struct mtd_info *mtd, int mode) | |||
1213 | 1213 | ||
1214 | #if defined(CONFIG_OF) | 1214 | #if defined(CONFIG_OF) |
1215 | static int atmel_of_init_port(struct atmel_nand_host *host, | 1215 | static int atmel_of_init_port(struct atmel_nand_host *host, |
1216 | struct device_node *np) | 1216 | struct device_node *np) |
1217 | { | 1217 | { |
1218 | u32 val, table_offset; | 1218 | u32 val, table_offset; |
1219 | u32 offset[2]; | 1219 | u32 offset[2]; |
@@ -1300,7 +1300,7 @@ static int atmel_of_init_port(struct atmel_nand_host *host, | |||
1300 | } | 1300 | } |
1301 | #else | 1301 | #else |
1302 | static int atmel_of_init_port(struct atmel_nand_host *host, | 1302 | static int atmel_of_init_port(struct atmel_nand_host *host, |
1303 | struct device_node *np) | 1303 | struct device_node *np) |
1304 | { | 1304 | { |
1305 | return -EINVAL; | 1305 | return -EINVAL; |
1306 | } | 1306 | } |