diff options
author | Olof Johansson <olof@lixom.net> | 2012-11-05 13:28:38 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-11-05 13:28:38 -0500 |
commit | 9237b5aa447dce55913b61f435c5140410bf5310 (patch) | |
tree | e107fbd74e98b301bfb8c964443c6c86a0f609a3 | |
parent | 6c97a189592fadaa928aa3e6c673e061823f1597 (diff) | |
parent | a0212796b58061a9716178d261f318925c246643 (diff) |
Merge tag 'omap-for-v3.8/cleanup-headers-part3-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/headers
From Tony Lindgren:
Here is the third set of plat header removal for omap2+.
This is based on the following minimal topic branches
coordinated with the related driver maintainers:
omap-for-v3.8/cleanup-headers-usb
omap-for-v3.8/cleanup-headers-menelaus
In addition to that, there are few fixes to the previously
merged patches that can show up with customized configs.
* tag 'omap-for-v3.8/cleanup-headers-part3-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP1: fix sparse warning added by commit 4c98dc6b8ef2f73bdbfa78186db9a76507ba9ea3
ARM: OMAP1: fix build breakage introduced by commit 25c7d49ed48b4843da7dea56a81ae7f620211ee0
ARM: OMAP2+: fix build breakage introduced by commit b7754452b3e27716347a528b47b0a1083af32520
-rw-r--r-- | arch/arm/mach-omap1/fpga.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap1/pm_bus.c | 2 | ||||
-rw-r--r-- | drivers/mtd/onenand/omap2.c | 36 |
3 files changed, 27 insertions, 12 deletions
diff --git a/arch/arm/mach-omap1/fpga.c b/arch/arm/mach-omap1/fpga.c index 4ec220d8da5c..d940fac9a9ed 100644 --- a/arch/arm/mach-omap1/fpga.c +++ b/arch/arm/mach-omap1/fpga.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
33 | 33 | ||
34 | #include "iomap.h" | 34 | #include "iomap.h" |
35 | #include "common.h" | ||
35 | 36 | ||
36 | static void fpga_mask_irq(struct irq_data *d) | 37 | static void fpga_mask_irq(struct irq_data *d) |
37 | { | 38 | { |
diff --git a/arch/arm/mach-omap1/pm_bus.c b/arch/arm/mach-omap1/pm_bus.c index 16bf2f95117c..3f2d39672393 100644 --- a/arch/arm/mach-omap1/pm_bus.c +++ b/arch/arm/mach-omap1/pm_bus.c | |||
@@ -19,6 +19,8 @@ | |||
19 | #include <linux/clk.h> | 19 | #include <linux/clk.h> |
20 | #include <linux/err.h> | 20 | #include <linux/err.h> |
21 | 21 | ||
22 | #include "soc.h" | ||
23 | |||
22 | #ifdef CONFIG_PM_RUNTIME | 24 | #ifdef CONFIG_PM_RUNTIME |
23 | static int omap1_pm_runtime_suspend(struct device *dev) | 25 | static int omap1_pm_runtime_suspend(struct device *dev) |
24 | { | 26 | { |
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index 53069aef1f48..99f96e19ebea 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c | |||
@@ -445,13 +445,19 @@ out_copy: | |||
445 | 445 | ||
446 | #else | 446 | #else |
447 | 447 | ||
448 | int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area, | 448 | static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area, |
449 | unsigned char *buffer, int offset, | 449 | unsigned char *buffer, int offset, |
450 | size_t count); | 450 | size_t count) |
451 | { | ||
452 | return -ENOSYS; | ||
453 | } | ||
451 | 454 | ||
452 | int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area, | 455 | static int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area, |
453 | const unsigned char *buffer, | 456 | const unsigned char *buffer, |
454 | int offset, size_t count); | 457 | int offset, size_t count) |
458 | { | ||
459 | return -ENOSYS; | ||
460 | } | ||
455 | 461 | ||
456 | #endif | 462 | #endif |
457 | 463 | ||
@@ -549,13 +555,19 @@ static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, | |||
549 | 555 | ||
550 | #else | 556 | #else |
551 | 557 | ||
552 | int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, | 558 | static int omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, |
553 | unsigned char *buffer, int offset, | 559 | unsigned char *buffer, int offset, |
554 | size_t count); | 560 | size_t count) |
561 | { | ||
562 | return -ENOSYS; | ||
563 | } | ||
555 | 564 | ||
556 | int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, | 565 | static int omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, |
557 | const unsigned char *buffer, | 566 | const unsigned char *buffer, |
558 | int offset, size_t count); | 567 | int offset, size_t count) |
568 | { | ||
569 | return -ENOSYS; | ||
570 | } | ||
559 | 571 | ||
560 | #endif | 572 | #endif |
561 | 573 | ||