diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mtd/maps/Makefile | 4 | ||||
| -rw-r--r-- | drivers/mtd/maps/physmap_of_versatile.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/mtd/maps/Makefile b/drivers/mtd/maps/Makefile index 188873a72f1d..644f7d36d35d 100644 --- a/drivers/mtd/maps/Makefile +++ b/drivers/mtd/maps/Makefile | |||
| @@ -18,7 +18,9 @@ obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o | |||
| 18 | obj-$(CONFIG_MTD_PXA2XX) += pxa2xx-flash.o | 18 | obj-$(CONFIG_MTD_PXA2XX) += pxa2xx-flash.o |
| 19 | obj-$(CONFIG_MTD_PHYSMAP) += physmap.o | 19 | obj-$(CONFIG_MTD_PHYSMAP) += physmap.o |
| 20 | obj-$(CONFIG_MTD_PHYSMAP_OF) += physmap_of.o | 20 | obj-$(CONFIG_MTD_PHYSMAP_OF) += physmap_of.o |
| 21 | obj-$(CONFIG_MTD_PHYSMAP_OF_VERSATILE) += physmap_of_versatile.o | 21 | ifdef CONFIG_MTD_PHYSMAP_OF_VERSATILE |
| 22 | obj-$(CONFIG_MTD_PHYSMAP_OF) += physmap_of_versatile.o | ||
| 23 | endif | ||
| 22 | obj-$(CONFIG_MTD_PISMO) += pismo.o | 24 | obj-$(CONFIG_MTD_PISMO) += pismo.o |
| 23 | obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcmsp-flash.o | 25 | obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcmsp-flash.o |
| 24 | obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o | 26 | obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o |
diff --git a/drivers/mtd/maps/physmap_of_versatile.c b/drivers/mtd/maps/physmap_of_versatile.c index fa40539e0d7f..0f39b2a015f4 100644 --- a/drivers/mtd/maps/physmap_of_versatile.c +++ b/drivers/mtd/maps/physmap_of_versatile.c | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 20 | * MA 02111-1307 USA | 20 | * MA 02111-1307 USA |
| 21 | */ | 21 | */ |
| 22 | #include <linux/export.h> | ||
| 22 | #include <linux/io.h> | 23 | #include <linux/io.h> |
| 23 | #include <linux/of.h> | 24 | #include <linux/of.h> |
| 24 | #include <linux/of_address.h> | 25 | #include <linux/of_address.h> |
| @@ -251,3 +252,4 @@ int of_flash_probe_versatile(struct platform_device *pdev, | |||
| 251 | 252 | ||
| 252 | return 0; | 253 | return 0; |
| 253 | } | 254 | } |
| 255 | EXPORT_SYMBOL_GPL(of_flash_probe_versatile); | ||
