Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100844
b: refs/heads/master
c: 60d6698
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed Jul 3, 2008
1 parent 566bc8d commit 948b8a2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 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: 042cf0f21feebc07b70bab9176c6be59f5fcdbc5
refs/heads/master: 60d6698bb39a16f11006735cde9d55a4654c34ca
16 changes: 15 additions & 1 deletion trunk/arch/arm/mach-s3c2410/mach-vr1000.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* linux/arch/arm/mach-s3c2410/mach-vr1000.c
*
* Copyright (c) 2003-2005 Simtec Electronics
* Copyright (c) 2003-2005,2008 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* Machine support for Thorcom VR1000 board. Designed for Thorcom by
Expand All @@ -19,6 +19,7 @@
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/dm9000.h>
#include <linux/i2c.h>

#include <linux/serial.h>
#include <linux/tty.h>
Expand Down Expand Up @@ -315,6 +316,16 @@ static struct platform_device vr1000_led3 = {
},
};

/* I2C devices. */

static struct i2c_board_info vr1000_i2c_devs[] __initdata = {
{
I2C_BOARD_INFO("tlv320aic23", 0x1a),
}, {
I2C_BOARD_INFO("m41st87", 0x68),
},
};

/* devices for this board */

static struct platform_device *vr1000_devices[] __initdata = {
Expand Down Expand Up @@ -373,6 +384,9 @@ static void __init vr1000_init(void)
{
platform_add_devices(vr1000_devices, ARRAY_SIZE(vr1000_devices));

i2c_register_board_info(0, vr1000_i2c_devs,
ARRAY_SIZE(vr1000_i2c_devs));

nor_simtec_init();
}

Expand Down

0 comments on commit 948b8a2

Please sign in to comment.