Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
[pandora-kernel.git] / arch / arm / mach-s3c2410 / nor-simtec.c
index b2ae237..ad9f750 100644 (file)
@@ -30,8 +30,9 @@
 #include <mach/bast-map.h>
 #include <mach/bast-cpld.h>
 
+#include "nor-simtec.h"
 
-static void simtec_nor_vpp(struct map_info *map, int vpp)
+static void simtec_nor_vpp(struct platform_device *pdev, int vpp)
 {
        unsigned int val;
        unsigned long flags;
@@ -50,7 +51,7 @@ static void simtec_nor_vpp(struct map_info *map, int vpp)
        local_irq_restore(flags);
 }
 
-struct physmap_flash_data simtec_nor_pdata = {
+static struct physmap_flash_data simtec_nor_pdata = {
        .width          = 2,
        .set_vpp        = simtec_nor_vpp,
        .nr_parts       = 0,