]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
Merge branch 'omap-for-v3.8/cleanup-headers' into omap-for-v3.8/cleanup-prcm
authorTony Lindgren <tony@atomide.com>
Fri, 26 Oct 2012 20:32:22 +0000 (13:32 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 26 Oct 2012 20:32:22 +0000 (13:32 -0700)
arch/arm/mach-omap1/fpga.c
arch/arm/mach-omap1/pm_bus.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/board-n8x0.c
drivers/mfd/menelaus.c
drivers/mtd/onenand/omap2.c
include/linux/mfd/menelaus.h [moved from arch/arm/plat-omap/include/plat/menelaus.h with 96% similarity]

index 4ec220d8da5c257c2a9393867356e958da391716..d940fac9a9ed03128210c555df284b3cd0076780 100644 (file)
@@ -32,6 +32,7 @@
 #include <mach/hardware.h>
 
 #include "iomap.h"
+#include "common.h"
 
 static void fpga_mask_irq(struct irq_data *d)
 {
index 16bf2f95117c0749536da344d729c2f920949b45..3f2d396723930ce1a27985bc3dcf48d122576e9b 100644 (file)
@@ -19,6 +19,8 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 
+#include "soc.h"
+
 #ifdef CONFIG_PM_RUNTIME
 static int omap1_pm_runtime_suspend(struct device *dev)
 {
index 366ebd93ae2411e34cd30a6ef5c05ae894a6d288..bd11b0aa9495ceb879e5ea3ecb890ca4e1434909 100644 (file)
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/input/matrix_keypad.h>
+#include <linux/mfd/menelaus.h>
 
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <plat/menelaus.h>
 #include <plat-omap/dma-omap.h>
 #include "debug-devices.h"
 
index cea433b9b7b9ede2a8be9d94e1da733259b9e4d1..e3efcb88cb3b2fdeeab86fab1d29e8fee8502fda 100644 (file)
 #include <linux/usb/musb.h>
 #include <linux/platform_data/spi-omap2-mcspi.h>
 #include <linux/platform_data/mtd-onenand-omap2.h>
+#include <linux/mfd/menelaus.h>
 #include <sound/tlv320aic3x.h>
 
 #include <asm/mach/arch.h>
 #include <asm/mach-types.h>
 
 #include "common.h"
-#include <plat/menelaus.h>
 #include "mmc.h"
 
 #include "mux.h"
index 55d589981412ec6b956566727ed05bbdbdb15982..998ce8cb3065a5a68dc2c09289e13e68826c341b 100644 (file)
 #include <linux/rtc.h>
 #include <linux/bcd.h>
 #include <linux/slab.h>
+#include <linux/mfd/menelaus.h>
 
 #include <asm/mach/irq.h>
 
 #include <asm/gpio.h>
-#include <plat/menelaus.h>
 
 #define DRIVER_NAME                    "menelaus"
 
index 53069aef1f489f76579741a30d781a13752ab491..99f96e19ebea8bd2b6704aa61c0f97da52dbb69b 100644 (file)
@@ -445,13 +445,19 @@ out_copy:
 
 #else
 
-int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area,
-                                unsigned char *buffer, int offset,
-                                size_t count);
+static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area,
+                                       unsigned char *buffer, int offset,
+                                       size_t count)
+{
+       return -ENOSYS;
+}
 
-int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area,
-                                 const unsigned char *buffer,
-                                 int offset, size_t count);
+static int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area,
+                                        const unsigned char *buffer,
+                                        int offset, size_t count)
+{
+       return -ENOSYS;
+}
 
 #endif
 
@@ -549,13 +555,19 @@ static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
 
 #else
 
-int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area,
-                                unsigned char *buffer, int offset,
-                                size_t count);
+static int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area,
+                                       unsigned char *buffer, int offset,
+                                       size_t count)
+{
+       return -ENOSYS;
+}
 
-int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
-                                 const unsigned char *buffer,
-                                 int offset, size_t count);
+static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area,
+                                        const unsigned char *buffer,
+                                        int offset, size_t count)
+{
+       return -ENOSYS;
+}
 
 #endif
 
similarity index 96%
rename from arch/arm/plat-omap/include/plat/menelaus.h
rename to include/linux/mfd/menelaus.h
index 4a970ec62dd150e0f6a684d10bb109a2202bbe34..f097e89134cbf5d36f04ea88a73f1dc570c2369b 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * arch/arm/plat-omap/include/mach/menelaus.h
- *
  * Functions to access Menelaus power management chip
  */