Fix a typo in the instructions on using omap3's gpio interface.
[kernel/u-boot.git] / doc / README.omap3
index e05e816..66e781d 100644 (file)
@@ -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);
        }