diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-n8x0.c')
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index 677357ff61ac..d95f727ca39a 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c | |||
@@ -20,19 +20,16 @@ | |||
20 | #include <linux/i2c.h> | 20 | #include <linux/i2c.h> |
21 | #include <linux/spi/spi.h> | 21 | #include <linux/spi/spi.h> |
22 | #include <linux/usb/musb.h> | 22 | #include <linux/usb/musb.h> |
23 | #include <linux/platform_data/spi-omap2-mcspi.h> | ||
24 | #include <linux/platform_data/mtd-onenand-omap2.h> | ||
23 | #include <sound/tlv320aic3x.h> | 25 | #include <sound/tlv320aic3x.h> |
24 | 26 | ||
25 | #include <asm/mach/arch.h> | 27 | #include <asm/mach/arch.h> |
26 | #include <asm/mach-types.h> | 28 | #include <asm/mach-types.h> |
27 | 29 | ||
28 | #include <plat/board.h> | ||
29 | #include "common.h" | 30 | #include "common.h" |
30 | #include <plat/menelaus.h> | 31 | #include <plat/menelaus.h> |
31 | #include <mach/irqs.h> | ||
32 | #include <plat/mcspi.h> | ||
33 | #include <plat/onenand.h> | ||
34 | #include <plat/mmc.h> | 32 | #include <plat/mmc.h> |
35 | #include <plat/serial.h> | ||
36 | 33 | ||
37 | #include "mux.h" | 34 | #include "mux.h" |
38 | 35 | ||
@@ -553,8 +550,8 @@ static int n8x0_auto_sleep_regulators(void) | |||
553 | 550 | ||
554 | ret = menelaus_set_regulator_sleep(1, val); | 551 | ret = menelaus_set_regulator_sleep(1, val); |
555 | if (ret < 0) { | 552 | if (ret < 0) { |
556 | printk(KERN_ERR "Could not set regulators to sleep on " | 553 | pr_err("Could not set regulators to sleep on menelaus: %u\n", |
557 | "menelaus: %u\n", ret); | 554 | ret); |
558 | return ret; | 555 | return ret; |
559 | } | 556 | } |
560 | return 0; | 557 | return 0; |
@@ -566,8 +563,7 @@ static int n8x0_auto_voltage_scale(void) | |||
566 | 563 | ||
567 | ret = menelaus_set_vcore_hw(1400, 1050); | 564 | ret = menelaus_set_vcore_hw(1400, 1050); |
568 | if (ret < 0) { | 565 | if (ret < 0) { |
569 | printk(KERN_ERR "Could not set VCORE voltage on " | 566 | pr_err("Could not set VCORE voltage on menelaus: %u\n", ret); |
570 | "menelaus: %u\n", ret); | ||
571 | return ret; | 567 | return ret; |
572 | } | 568 | } |
573 | return 0; | 569 | return 0; |
@@ -600,7 +596,7 @@ static struct menelaus_platform_data n8x0_menelaus_platform_data __initdata = { | |||
600 | static struct i2c_board_info __initdata n8x0_i2c_board_info_1[] __initdata = { | 596 | static struct i2c_board_info __initdata n8x0_i2c_board_info_1[] __initdata = { |
601 | { | 597 | { |
602 | I2C_BOARD_INFO("menelaus", 0x72), | 598 | I2C_BOARD_INFO("menelaus", 0x72), |
603 | .irq = INT_24XX_SYS_NIRQ, | 599 | .irq = 7 + OMAP_INTC_START, |
604 | .platform_data = &n8x0_menelaus_platform_data, | 600 | .platform_data = &n8x0_menelaus_platform_data, |
605 | }, | 601 | }, |
606 | }; | 602 | }; |