linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fbmem: Export fb_get_options and (un)register_framebuffer symbols
@ 2013-06-30 17:36 Ismael Luceno
  2013-06-30 17:42 ` David Herrmann
  2013-06-30 17:54 ` Ismael Luceno
  0 siblings, 2 replies; 3+ messages in thread
From: Ismael Luceno @ 2013-06-30 17:36 UTC (permalink / raw)
  To: linux-fbdev

Signed-off-by: Ismael Luceno <ismael.luceno@gmail.com>
---
 drivers/video/fbmem.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 098bfc6..910909c 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1743,6 +1743,7 @@ register_framebuffer(struct fb_info *fb_info)
 
 	return ret;
 }
+EXPORT_SYMBOL(register_framebuffer);
 
 /**
  *	unregister_framebuffer - releases a frame buffer device
@@ -1771,6 +1772,7 @@ unregister_framebuffer(struct fb_info *fb_info)
 
 	return ret;
 }
+EXPORT_SYMBOL(unregister_framebuffer);
 
 /**
  *	fb_set_suspend - low level driver signals suspend
@@ -1910,6 +1912,7 @@ int fb_get_options(char *name, char **option)
 
 	return retval;
 }
+EXPORT_SYMBOL(fb_get_options);
 
 #ifndef MODULE
 /**
-- 
1.8.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] fbmem: Export fb_get_options and (un)register_framebuffer symbols
  2013-06-30 17:36 [PATCH] fbmem: Export fb_get_options and (un)register_framebuffer symbols Ismael Luceno
@ 2013-06-30 17:42 ` David Herrmann
  2013-06-30 17:54 ` Ismael Luceno
  1 sibling, 0 replies; 3+ messages in thread
From: David Herrmann @ 2013-06-30 17:42 UTC (permalink / raw)
  To: linux-fbdev

Hi

On Sun, Jun 30, 2013 at 10:36 PM, Ismael Luceno <ismael.luceno@gmail.com> wrote:
> Signed-off-by: Ismael Luceno <ismael.luceno@gmail.com>
> ---
>  drivers/video/fbmem.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
> index 098bfc6..910909c 100644
> --- a/drivers/video/fbmem.c
> +++ b/drivers/video/fbmem.c
> @@ -1743,6 +1743,7 @@ register_framebuffer(struct fb_info *fb_info)
>
>         return ret;
>  }
> +EXPORT_SYMBOL(register_framebuffer);

These EXPORT_SYMBOL() calls should all be available at the end of fbmem.c.

Cheers
David

>
>  /**
>   *     unregister_framebuffer - releases a frame buffer device
> @@ -1771,6 +1772,7 @@ unregister_framebuffer(struct fb_info *fb_info)
>
>         return ret;
>  }
> +EXPORT_SYMBOL(unregister_framebuffer);
>
>  /**
>   *     fb_set_suspend - low level driver signals suspend
> @@ -1910,6 +1912,7 @@ int fb_get_options(char *name, char **option)
>
>         return retval;
>  }
> +EXPORT_SYMBOL(fb_get_options);
>
>  #ifndef MODULE
>  /**
> --
> 1.8.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fbmem: Export fb_get_options and (un)register_framebuffer symbols
  2013-06-30 17:36 [PATCH] fbmem: Export fb_get_options and (un)register_framebuffer symbols Ismael Luceno
  2013-06-30 17:42 ` David Herrmann
@ 2013-06-30 17:54 ` Ismael Luceno
  1 sibling, 0 replies; 3+ messages in thread
From: Ismael Luceno @ 2013-06-30 17:54 UTC (permalink / raw)
  To: linux-fbdev

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

On Sun, 30 Jun 2013 19:42:36 +0200
David Herrmann <dh.herrmann@gmail.com> wrote:
> Hi
> 
> On Sun, Jun 30, 2013 at 10:36 PM, Ismael Luceno
> <ismael.luceno@gmail.com> wrote:
> > Signed-off-by: Ismael Luceno <ismael.luceno@gmail.com>
> > ---
> >  drivers/video/fbmem.c | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
> > index 098bfc6..910909c 100644
> > --- a/drivers/video/fbmem.c
> > +++ b/drivers/video/fbmem.c
> > @@ -1743,6 +1743,7 @@ register_framebuffer(struct fb_info *fb_info)
> >
> >         return ret;
> >  }
> > +EXPORT_SYMBOL(register_framebuffer);
> 
> These EXPORT_SYMBOL() calls should all be available at the end of
> fbmem.c.
> 
> Cheers
> David

I noticed that just after sending the patch :/. Sorry for the noise.
I'm getting the following errors while trying to load ttm and nouveau on
a vanilla kernel:

drm_kms_helper: Unknown symbol register_framebuffer (err 0)
drm_kms_helper: Unknown symbol fb_get_options (err 0)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-30 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-30 17:36 [PATCH] fbmem: Export fb_get_options and (un)register_framebuffer symbols Ismael Luceno
2013-06-30 17:42 ` David Herrmann
2013-06-30 17:54 ` Ismael Luceno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).