Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250989
b: refs/heads/master
c: 545554e
h: refs/heads/master
i:
  250987: 63e9955
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed May 25, 2011
1 parent 2098118 commit 2bd5da4
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c5e7043ef784be323750ea4cfdfe004f71c02566
refs/heads/master: 545554e7c5bb93bfbf134f9f12889701c0aadf97
3 changes: 3 additions & 0 deletions trunk/drivers/gpio/ml_ioh_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/gpio.h>

Expand Down Expand Up @@ -138,6 +139,7 @@ static int ioh_gpio_direction_input(struct gpio_chip *gpio, unsigned nr)
return 0;
}

#ifdef CONFIG_PM
/*
* Save register configuration and disable interrupts.
*/
Expand All @@ -157,6 +159,7 @@ static void ioh_gpio_restore_reg_conf(struct ioh_gpio *chip)
/* to store contents of PM register */
iowrite32(chip->ioh_gpio_reg.pm_reg, &chip->reg->regs[chip->ch].pm);
}
#endif

static void ioh_gpio_setup(struct ioh_gpio *chip, int num_port)
{
Expand Down

0 comments on commit 2bd5da4

Please sign in to comment.