[PATCH] mfd/wm8350: don't export static functions

Subsystems: multifunction devices (mfd), the rest, wolfson microelectronics drivers

STALE6525d

5 messages, 2 authors, 2008-10-22 · open the first message on its own page

[PATCH] mfd/wm8350: don't export static functions

From: Stephen Rothwell <hidden>
Date: 2008-10-16 10:35:38

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/mfd/wm8350-core.c:1131: error: __ksymtab_wm8350_create_cache causes a section type conflict

Caused by commit 89b4012befb1abca5e86d232bc0e2a797b0d9825 ("mfd: Core
support for the WM8350 AudioPlus PMIC"). wm8350_create_cache is not used
elsewhere, so remove the EXPORT_SYMBOL.

Signed-off-by: Stephen Rothwell <redacted>
---
 drivers/mfd/wm8350-core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c
index bf87f67..fbe22fb 100644
--- a/drivers/mfd/wm8350-core.c
+++ b/drivers/mfd/wm8350-core.c
@@ -1128,7 +1128,6 @@ static int wm8350_create_cache(struct wm8350 *wm8350, int mode)
 out:
 	return ret;
 }
-EXPORT_SYMBOL_GPL(wm8350_create_cache);
 
 /*
  * Register a client device.  This is non-fatal since there is no need to
-- 
1.5.6.5

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Re: [PATCH] mfd/wm8350: don't export static functions

From: Mark Brown <hidden>
Date: 2008-10-16 12:04:28

On Thu, Oct 16, 2008 at 08:47:54PM +1100, Stephen Rothwell wrote:
Today's linux-next build (powerpc allyesconfig) failed like this:
drivers/mfd/wm8350-core.c:1131: error: __ksymtab_wm8350_create_cache causes a section type conflict
Caused by commit 89b4012befb1abca5e86d232bc0e2a797b0d9825 ("mfd: Core
support for the WM8350 AudioPlus PMIC"). wm8350_create_cache is not used
elsewhere, so remove the EXPORT_SYMBOL.
Acked-by: Mark Brown <redacted>

Re: [PATCH] mfd/wm8350: don't export static functions

From: Stephen Rothwell <hidden>
Date: 2008-10-22 09:31:36

Hi Mark,

On Thu, 16 Oct 2008 13:04:16 +0100 Mark Brown [off-list ref] wrote:
On Thu, Oct 16, 2008 at 08:47:54PM +1100, Stephen Rothwell wrote:
quoted
Today's linux-next build (powerpc allyesconfig) failed like this:
quoted
drivers/mfd/wm8350-core.c:1131: error: __ksymtab_wm8350_create_cache causes a section type conflict
quoted
Caused by commit 89b4012befb1abca5e86d232bc0e2a797b0d9825 ("mfd: Core
support for the WM8350 AudioPlus PMIC"). wm8350_create_cache is not used
elsewhere, so remove the EXPORT_SYMBOL.
Acked-by: Mark Brown <redacted>
I thought that this had been applied, but I have had to apply it to my
tree today again.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Re: [PATCH] mfd/wm8350: don't export static functions

From: Mark Brown <hidden>
Date: 2008-10-22 09:38:35

On Wed, Oct 22, 2008 at 08:31:12PM +1100, Stephen Rothwell wrote:
I thought that this had been applied, but I have had to apply it to my
tree today again.
Samuel doesn't seem to have picked it up (though looking at the CC list
you've not sent it to him).  I'm going to push another batch of stuff to
him later today, hopefully he will pick it up then.

Re: [PATCH] mfd/wm8350: don't export static functions

From: Stephen Rothwell <hidden>
Date: 2008-10-22 09:54:44

Hi Mark,

On Wed, 22 Oct 2008 10:37:22 +0100 Mark Brown [off-list ref] wrote:
On Wed, Oct 22, 2008 at 08:31:12PM +1100, Stephen Rothwell wrote:
quoted
I thought that this had been applied, but I have had to apply it to my
tree today again.
Samuel doesn't seem to have picked it up (though looking at the CC list
you've not sent it to him).  I'm going to push another batch of stuff to
him later today, hopefully he will pick it up then.
OK, thanks.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help