Skip to content

Commit

Permalink
gpio: export devm_gpio_request_one
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren authored and Linus Walleij committed Jul 5, 2012
1 parent 8cd578b commit 3996bfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/devres.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ int devm_gpio_request_one(struct device *dev, unsigned gpio,

return 0;
}
EXPORT_SYMBOL(devm_gpio_request_one);

/**
* devm_gpio_free - free an interrupt
Expand Down

0 comments on commit 3996bfc

Please sign in to comment.