static inline int gpio_is_valid(int number)
{
static inline int gpio_is_valid(int number)
{
gpio_set_value(gpio, value);
}
gpio_set_value(gpio, value);
}
+
+#ifndef CONFIG_GPIO_SYSFS
+
+
+#ifndef CONFIG_GPIO_SYSFS
+
++#include <asm/errno.h>
++
+/* sysfs support is only available with gpiolib, where it's optional */
+
+static inline int gpio_export(unsigned gpio, bool direction_may_change)
+/* sysfs support is only available with gpiolib, where it's optional */
+
+static inline int gpio_export(unsigned gpio, bool direction_may_change)