Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180025
b: refs/heads/master
c: 81143d2
h: refs/heads/master
i:
  180023: 8147afa
v: v3
  • Loading branch information
Saeed Bishara authored and Nicolas Pitre committed Jan 11, 2010
1 parent 0a82189 commit 5d0c8fe
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 7788cd5557766d49343088b2edc544b186e2fe53
refs/heads/master: 81143d2a65364ce5ae5c97b4c10d7d9bbe4428fd
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-kirkwood/rd88f6192-nas-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/mv643xx_eth.h>
#include <linux/gpio.h>
#include <linux/spi/flash.h>
#include <linux/spi/spi.h>
#include <linux/spi/orion_spi.h>
Expand Down Expand Up @@ -53,6 +54,11 @@ static void __init rd88f6192_init(void)
*/
kirkwood_init();

orion_gpio_set_valid(RD88F6192_GPIO_USB_VBUS, 1);
if (gpio_request(RD88F6192_GPIO_USB_VBUS, "USB VBUS") != 0 ||
gpio_direction_output(RD88F6192_GPIO_USB_VBUS, 1) != 0)
pr_err("RD-88F6192-NAS: failed to setup USB VBUS GPIO\n");

kirkwood_ehci_init();
kirkwood_ge00_init(&rd88f6192_ge00_data);
kirkwood_sata_init(&rd88f6192_sata_data);
Expand Down

0 comments on commit 5d0c8fe

Please sign in to comment.