# Re: \[RFC 2.6.26-rc9 1/5\] pxafb: add shared framebuffer interface

- From: Jaya Kumar \<hidden\>
- Date: 2008-07-21 03:38:30 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2008/07/13458518
- Thread: https://ratatoskr.run/linux-fbdev/2008/07/13458485/t.md

```text
On Sun, Jul 20, 2008 at 7:10 PM, eric miao [ref] wrote:
>
> I see no reason why set_pxa_fb_info() cannot be exported, though
> its primary use is in the board setup code.

Yup, I see now. In the v6 patchset, I managed to use set_pxa_fb_info
by converting am200epd to a builtin and also changing the way we do
setup_fb for metronomefb. So I'm able to use set_pxa_fb_info without
changes now. :-)

>
>> I started thinking about maybe creating something different, like
>> maybe set_mod_pxa_fb_info that would work more dynamically (ie: alloc
>> a platform_device dynamically, thus making it possible for
>> device_release to work, rather than using a static struct
>> pxa_device_fb) and allow for module support without requiring any
>> exports other than itself. Is this something that's of interest  or
>> should I focus on the former?
>
> That sounds a bit trickier maybe we should avoid.
>

Agreed.

Thanks,
jaya

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
```
