瀏覽代碼

gpio: export devm_gpio_request_one

Without this, modules can't use this API, leading to build failures.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Stephen Warren 13 年之前
父節點
當前提交
3996bfc787
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/gpio/devres.c

+ 1 - 0
drivers/gpio/devres.c

@@ -98,6 +98,7 @@ int devm_gpio_request_one(struct device *dev, unsigned gpio,
 
 
 	return 0;
 	return 0;
 }
 }
+EXPORT_SYMBOL(devm_gpio_request_one);
 
 
 /**
 /**
  *      devm_gpio_free - free an interrupt
  *      devm_gpio_free - free an interrupt