From 7caa13fdd2d3dc957b4e0a228810a3a4a8ba499b Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Wed, 3 Jun 2009 01:53:55 -0500 Subject: 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 Acked-by: Dirk Behme --- doc/README.omap3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/README.omap3 b/doc/README.omap3 index e05e816df..66e781d0f 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); } -- cgit v1.2.3