Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187425
b: refs/heads/master
c: d74b96a
h: refs/heads/master
i:
  187423: 1e10dee
v: v3
  • Loading branch information
Simon Guinot authored and Nicolas Pitre committed Feb 10, 2010
1 parent 83a0713 commit 7b1b227
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e233230f9c8f02d4c3a643ec5067ca21bc90ee9a
refs/heads/master: d74b96a73a99853708d6b278c2ce683657fa1ec5
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-orion5x/d2net-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ static struct orion5x_mpp_mode d2net_mpp_modes[] __initdata = {
/* 24: Inhibit board power off (0 = Disabled, 1 = Enabled) */
};

#define D2NET_GPIO_INHIBIT_POWER_OFF 24

static void __init d2net_init(void)
{
/*
Expand Down Expand Up @@ -333,6 +335,8 @@ static void __init d2net_init(void)

i2c_register_board_info(0, d2net_i2c_devices,
ARRAY_SIZE(d2net_i2c_devices));

orion_gpio_set_valid(D2NET_GPIO_INHIBIT_POWER_OFF, 1);
}

/* Warning: LaCie use a wrong mach-type (0x20e=526) in their bootloader. */
Expand Down

0 comments on commit 7b1b227

Please sign in to comment.