Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97273
b: refs/heads/master
c: 6ea0205
h: refs/heads/master
i:
  97271: ae0ce95
v: v3
  • Loading branch information
David Brownell authored and Linus Torvalds committed May 24, 2008
1 parent df05fcf commit 498a274
Show file tree
Hide file tree
Showing 3 changed files with 9 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: ee29420aca6ca6fbb3e72ee8a980b2600911b864
refs/heads/master: 6ea0205b56546cef782b74d9f4664ec00290a6ae
6 changes: 5 additions & 1 deletion trunk/include/asm-generic/gpio.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#ifndef _ASM_GENERIC_GPIO_H
#define _ASM_GENERIC_GPIO_H

#include <linux/types.h>

#ifdef CONFIG_HAVE_GPIO_LIB

#include <linux/compiler.h>

/* Platforms may implement their GPIO interface with library code,
* at a small performance cost for non-inlined operations and some
* extra memory (for code and for per-GPIO table entries).
Expand Down Expand Up @@ -74,7 +78,7 @@ struct gpio_chip {

extern const char *gpiochip_is_requested(struct gpio_chip *chip,
unsigned offset);
extern int __init __must_check gpiochip_reserve(int start, int ngpio);
extern int __must_check gpiochip_reserve(int start, int ngpio);

/* add/remove chips */
extern int gpiochip_add(struct gpio_chip *chip);
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

#else

#include <linux/types.h>
#include <linux/errno.h>

/*
* Some platforms don't support the GPIO programming interface.
*
Expand Down

0 comments on commit 498a274

Please sign in to comment.