Skip to content

Commit 3996bfc

Browse files
nvswarrenlinusw
authored andcommitted
gpio: export devm_gpio_request_one
Without this, modules can't use this API, leading to build failures. Signed-off-by: Stephen Warren <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 8cd578b commit 3996bfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpio/devres.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ int devm_gpio_request_one(struct device *dev, unsigned gpio,
9898

9999
return 0;
100100
}
101+
EXPORT_SYMBOL(devm_gpio_request_one);
101102

102103
/**
103104
* devm_gpio_free - free an interrupt

0 commit comments

Comments
 (0)