Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226021
b: refs/heads/master
c: 20406eb
h: refs/heads/master
i:
  226019: ae61558
v: v3
  • Loading branch information
Sundar Iyer authored and Linus Walleij committed Dec 19, 2010
1 parent 89b4d74 commit ccbc12c
Show file tree
Hide file tree
Showing 5 changed files with 352 additions and 354 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4e8afdc7ab1b5a0962be02a9dd15d29a81f4c53
refs/heads/master: 20406ebff4a298e6e3abbc1717a90bb3e55dc820
12 changes: 5 additions & 7 deletions trunk/arch/arm/mach-ux500/board-mop500.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
#include <linux/amba/pl022.h>
#include <linux/spi/spi.h>
#include <linux/mfd/ab8500.h>
#include <linux/mfd/tc35892.h>
#include <linux/input/matrix_keypad.h>
#include <linux/mfd/tc3589x.h>

#include <asm/mach-types.h>
#include <asm/mach/arch.h>
Expand Down Expand Up @@ -112,24 +111,24 @@ static struct pl022_ssp_controller ssp0_platform_data = {
* TC35892
*/

static void mop500_tc35892_init(struct tc35892 *tc35892, unsigned int base)
static void mop500_tc35892_init(struct tc3589x *tc3589x, unsigned int base)
{
mop500_sdi_tc35892_init();
}

static struct tc35892_gpio_platform_data mop500_tc35892_gpio_data = {
static struct tc3589x_gpio_platform_data mop500_tc35892_gpio_data = {
.gpio_base = MOP500_EGPIO(0),
.setup = mop500_tc35892_init,
};

static struct tc35892_platform_data mop500_tc35892_data = {
static struct tc3589x_platform_data mop500_tc35892_data = {
.gpio = &mop500_tc35892_gpio_data,
.irq_base = MOP500_EGPIO_IRQ_BASE,
};

static struct i2c_board_info mop500_i2c0_devices[] = {
{
I2C_BOARD_INFO("tc35892", 0x42),
I2C_BOARD_INFO("tc3589x", 0x42),
.irq = NOMADIK_GPIO_TO_IRQ(217),
.platform_data = &mop500_tc35892_data,
},
Expand Down Expand Up @@ -302,7 +301,6 @@ static void __init u8500_init_machine(void)

nmk_config_pins(mop500_pins, ARRAY_SIZE(mop500_pins));

ux500_ske_keypad_device.dev.platform_data = &ske_keypad_board;
platform_add_devices(platform_devs, ARRAY_SIZE(platform_devs));

mop500_i2c_init();
Expand Down
Loading

0 comments on commit ccbc12c

Please sign in to comment.