Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191947
b: refs/heads/master
c: a6e1ec7
h: refs/heads/master
i:
  191945: fde66a2
  191943: 3616fb1
v: v3
  • Loading branch information
Ben Dooks committed May 10, 2010
1 parent b37b58a commit c250543
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c140c98ac161ad270a768126431e36a22f86f6b3
refs/heads/master: a6e1ec7f69950864ff8d992da6d929b1444f7cb3
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-s3c2416/mach-smdk2416.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/mtd/partitions.h>
#include <linux/gpio.h>

#include <asm/mach/arch.h>
#include <asm/mach/map.h>
Expand Down Expand Up @@ -110,6 +111,7 @@ static struct s3c2410_uartcfg smdk2416_uartcfgs[] __initdata = {

static struct platform_device *smdk2416_devices[] __initdata = {
&s3c_device_wdt,
&s3c_device_ohci,
&s3c_device_i2c0,
&s3c_device_hsmmc0,
&s3c_device_hsmmc1,
Expand All @@ -128,6 +130,9 @@ static void __init smdk2416_machine_init(void)
{
s3c_i2c0_set_platdata(NULL);

gpio_request(S3C2410_GPB(4), "USBHost Power");
gpio_direction_output(S3C2410_GPB(4), 1);

platform_add_devices(smdk2416_devices, ARRAY_SIZE(smdk2416_devices));
smdk_machine_init();
}
Expand Down

0 comments on commit c250543

Please sign in to comment.