Several fixes for build failures and sparse warnings in the

OMAP cleanup-headers branch.  Intended for 3.8 cleanup.
 
 Basic build, boot, and PM test logs are available from here:
 
     http://www.pwsan.com/omap/testlogs/cleanup-headers-compile-fixes-3.8/20121026132711/
 
 Due to underlying problems in v3.7-rc2, several tests fail.  These
 failures are unrelated to these patches.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.12 (GNU/Linux)
 
 iQIcBAABAgAGBQJQiuxVAAoJEMePsQ0LvSpL5z0P/iTvOEUxgRbH73waf1CsxBTq
 EhTLCCiDeq69XcBk33zE72+/fcaArMEPyrIft2KCjKc+4INDQqLKfyrsgj7jCc7/
 HUZiZkBm+wyzcyl+ZSzjTOjv5/87U7vejpn2BqB65h6wVsR8Nz0UMaP9bQ6roR5f
 Q3MZ815Cz5sFxnP6juEPPZ7D013gd4SPlwWaQkHJKh64YkUk/dSTNFwMt0QAkjBv
 JCPLVAkJQ/oPwAJRLqX8k1hUEm5vPVv59/o6eet76TqH9EShDmkLwxw7ut3NwxXB
 ACuT/+9ANnvMSxv6OEIyDPpa9slXI3nYIQdOaPoSCNUUx2awLZNNpGNMevpyeNh0
 B+zVY//5XZYXBxjtk0y7/ioTe4mbjhikVb/0w/oQCMKtNuv5qsvkZORYblgD6OX3
 97hML7mlK9QHKwJkGO9sTSkrbxpC0YM2dWXos4eChgOJP9GVZc59/EqST8rioCnY
 rDtQbqgF3WNOAshysoDFwWslzAFbzGgSDv+n9GLiK7TK+3nrgEoDRuRH19/xeIH0
 +FkljSYKKLX2CVn6L2eil+VqWfs8I6oshU//7vZRRtUad/wZ8g6W6O3QUFWqiToF
 hBBQwO849zca1vtrpTduMG2f1jRsrTncCjjuB3oK0ubuvemSky/IMF6WV3EauQyI
 BZVzZf+u41em2DVdF5Vr
 =zL/L
 -----END PGP SIGNATURE-----

Merge tag 'omap-cleanup-fixes-a-for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into omap-for-v3.8/cleanup-headers

Several fixes for build failures and sparse warnings in the
OMAP cleanup-headers branch.  Intended for 3.8 cleanup.

Basic build, boot, and PM test logs are available from here:

    http://www.pwsan.com/omap/testlogs/cleanup-headers-compile-fixes-3.8/20121026132711/

Due to underlying problems in v3.7-rc2, several tests fail.  These
failures are unrelated to these patches.
This commit is contained in:
Tony Lindgren 2012-10-26 13:18:19 -07:00
commit a0212796b5
3 changed files with 27 additions and 12 deletions

View File

@ -32,6 +32,7 @@
#include <mach/hardware.h>
#include "iomap.h"
#include "common.h"
static void fpga_mask_irq(struct irq_data *d)
{

View 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)
{

View 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