diff options
Diffstat (limited to 'include/linux/mtd/physmap.h')
| -rw-r--r-- | include/linux/mtd/physmap.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mtd/physmap.h b/include/linux/mtd/physmap.h index 49b959029417..d40bfa1d9c91 100644 --- a/include/linux/mtd/physmap.h +++ b/include/linux/mtd/physmap.h | |||
| @@ -37,8 +37,6 @@ struct physmap_flash_data { | |||
| 37 | void physmap_configure(unsigned long addr, unsigned long size, | 37 | void physmap_configure(unsigned long addr, unsigned long size, |
| 38 | int bankwidth, void (*set_vpp)(struct map_info *, int) ); | 38 | int bankwidth, void (*set_vpp)(struct map_info *, int) ); |
| 39 | 39 | ||
| 40 | #ifdef CONFIG_MTD_PARTITIONS | ||
| 41 | |||
| 42 | /* | 40 | /* |
| 43 | * Machines that wish to do flash partition may want to call this function in | 41 | * Machines that wish to do flash partition may want to call this function in |
| 44 | * their setup routine. | 42 | * their setup routine. |
| @@ -50,6 +48,4 @@ void physmap_configure(unsigned long addr, unsigned long size, | |||
| 50 | */ | 48 | */ |
| 51 | void physmap_set_partitions(struct mtd_partition *parts, int num_parts); | 49 | void physmap_set_partitions(struct mtd_partition *parts, int num_parts); |
| 52 | 50 | ||
| 53 | #endif /* defined(CONFIG_MTD_PARTITIONS) */ | ||
| 54 | |||
| 55 | #endif /* __LINUX_MTD_PHYSMAP__ */ | 51 | #endif /* __LINUX_MTD_PHYSMAP__ */ |
