Subject: Re: linux-next: build failure after merge of the regulator tree

From: Andrew Morton <[email-masked]>
Date: Thu, 21 Jun 2012 10:35:51 -0700

On Thu, 21 Jun 2012 21:04:12 +1000 Stephen Rothwell <[email-masked]> wrote:

> This export is needed for a patch in the regulator tree, so can we have
> that patch sent to Linus ASAP, please?

Shall do.

From: Andrew Morton <[email-masked]>
Subject: drivers/gpio/devres.c: export devm_gpio_request_one() to modules

Several drivers in linux-next and possibly mainline are failing due to
this missing export.

Cc: Alberto Panizzo <[email-masked]>
Cc: Jingoo Han <[email-masked]>
Cc: Richard Purdie <[email-masked]>
Cc: Grant Likely <[email-masked]>
Cc: Mark Brown <[email-masked]>
Cc: Stephen Rothwell <[email-masked]>
Signed-off-by: Andrew Morton <[email-masked]>
---

 drivers/gpio/devres.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/gpio/devres.c~drivers-gpio-devresc-export-devm_gpio_request_one-to-modules drivers/gpio/devres.c
--- a/drivers/gpio/devres.c~drivers-gpio-devresc-export-devm_gpio_request_one-to-modules
+++ a/drivers/gpio/devres.c
@@ -98,6 +98,7 @@ int devm_gpio_request_one(struct device 
 
 	return 0;
 }
+EXPORT_SYMBOL(devm_gpio_request_one);
 
 /**
  *      devm_gpio_free - free an interrupt
_