diff options
author | Tom Rix <Tom.Rix@windriver.com> | 2009-06-03 01:53:55 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-12 20:45:47 +0200 |
commit | 7caa13fdd2d3dc957b4e0a228810a3a4a8ba499b (patch) | |
tree | a2e017208df32bd028cb620e4d19c8e654577e15 | |
parent | 0c9520efd651ce13451654a35307ec87d4a13a69 (diff) |
Fix a typo in the instructions on using omap3's gpio interface.
Using the example for reading a gpio, shows the problem.
NULL should be the gpio number.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Dirk Behme <dirk.behme@googlemail.com>
-rw-r--r-- | doc/README.omap3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.omap3 b/doc/README.omap3 index e05e816df4b..66e781d0f8d 100644 --- a/doc/README.omap3 +++ b/doc/README.omap3 @@ -106,7 +106,7 @@ To clear a bit : To read a bit : if (!omap_request_gpio(N)) { - omap_set_gpio_direction(NULL, 1); + omap_set_gpio_direction(N, 1); val = omap_get_gpio_datain(N); omap_free_gpio(N); } |