diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-26 16:32:22 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-26 16:32:22 -0400 |
commit | 7fc54fd3084457c7f11b9e2e1e3fcd19a3badc33 (patch) | |
tree | e696fcf3eb3b9c6311fc4fa51aa8c89a29aad9c2 | |
parent | 8634155ef41d3a035f2ea0b6c5bed2806f2788bc (diff) | |
parent | a0212796b58061a9716178d261f318925c246643 (diff) |
Merge branch 'omap-for-v3.8/cleanup-headers' into omap-for-v3.8/cleanup-prcm
-rw-r--r-- | arch/arm/mach-omap1/fpga.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap1/pm_bus.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-h4.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 2 | ||||
-rw-r--r-- | drivers/mfd/menelaus.c | 2 | ||||
-rw-r--r-- | drivers/mtd/onenand/omap2.c | 36 | ||||
-rw-r--r-- | include/linux/mfd/menelaus.h (renamed from arch/arm/plat-omap/include/plat/menelaus.h) | 2 |
7 files changed, 30 insertions, 17 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/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 366ebd93ae24..bd11b0aa9495 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -26,12 +26,12 @@ | |||
26 | #include <linux/clk.h> | 26 | #include <linux/clk.h> |
27 | #include <linux/io.h> | 27 | #include <linux/io.h> |
28 | #include <linux/input/matrix_keypad.h> | 28 | #include <linux/input/matrix_keypad.h> |
29 | #include <linux/mfd/menelaus.h> | ||
29 | 30 | ||
30 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
31 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
32 | #include <asm/mach/map.h> | 33 | #include <asm/mach/map.h> |
33 | 34 | ||
34 | #include <plat/menelaus.h> | ||
35 | #include <plat-omap/dma-omap.h> | 35 | #include <plat-omap/dma-omap.h> |
36 | #include "debug-devices.h" | 36 | #include "debug-devices.h" |
37 | 37 | ||
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index cea433b9b7b9..e3efcb88cb3b 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -22,13 +22,13 @@ | |||
22 | #include <linux/usb/musb.h> | 22 | #include <linux/usb/musb.h> |
23 | #include <linux/platform_data/spi-omap2-mcspi.h> | 23 | #include <linux/platform_data/spi-omap2-mcspi.h> |
24 | #include <linux/platform_data/mtd-onenand-omap2.h> | 24 | #include <linux/platform_data/mtd-onenand-omap2.h> |
25 | #include <linux/mfd/menelaus.h> | ||
25 | #include <sound/tlv320aic3x.h> | 26 | #include <sound/tlv320aic3x.h> |
26 | 27 | ||
27 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
28 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
29 | 30 | ||
30 | #include "common.h" | 31 | #include "common.h" |
31 | #include <plat/menelaus.h> | ||
32 | #include "mmc.h" | 32 | #include "mmc.h" |
33 | 33 | ||
34 | #include "mux.h" | 34 | #include "mux.h" |
diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index 55d589981412..998ce8cb3065 100644 --- a/drivers/mfd/menelaus.c +++ b/drivers/mfd/menelaus.c | |||
@@ -41,11 +41,11 @@ | |||
41 | #include <linux/rtc.h> | 41 | #include <linux/rtc.h> |
42 | #include <linux/bcd.h> | 42 | #include <linux/bcd.h> |
43 | #include <linux/slab.h> | 43 | #include <linux/slab.h> |
44 | #include <linux/mfd/menelaus.h> | ||
44 | 45 | ||
45 | #include <asm/mach/irq.h> | 46 | #include <asm/mach/irq.h> |
46 | 47 | ||
47 | #include <asm/gpio.h> | 48 | #include <asm/gpio.h> |
48 | #include <plat/menelaus.h> | ||
49 | 49 | ||
50 | #define DRIVER_NAME "menelaus" | 50 | #define DRIVER_NAME "menelaus" |
51 | 51 | ||
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 | ||
diff --git a/arch/arm/plat-omap/include/plat/menelaus.h b/include/linux/mfd/menelaus.h index 4a970ec62dd1..f097e89134cb 100644 --- a/arch/arm/plat-omap/include/plat/menelaus.h +++ b/include/linux/mfd/menelaus.h | |||
@@ -1,6 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/plat-omap/include/mach/menelaus.h | ||
3 | * | ||
4 | * Functions to access Menelaus power management chip | 2 | * Functions to access Menelaus power management chip |
5 | */ | 3 | */ |
6 | 4 | ||