linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cfb_fillrect and friends undefined
@ 2006-08-03  2:39 Richard Wolf
  2006-08-03  6:20 ` Antonino A. Daplas
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Wolf @ 2006-08-03  2:39 UTC (permalink / raw)
  To: Linux Fbdev development list

Hi,

I'm trying to write a frame buffer driver, basing it on the vfb virtual
driver.  When I try to load the module I get an error message:

lh155ba: Unknown symbol platform_driver_unregister
lh155ba: Unknown symbol cfb_copyarea
lh155ba: Unknown symbol platform_device_register
lh155ba: Unknown symbol platform_driver_register
lh155ba: Unknown symbol platform_device_unregister
lh155ba: Unknown symbol cfb_imageblit
lh155ba: Unknown symbol cfb_fillrect

I can't work out what config options to enable to define these symbols.  I
can get cfb_* to appear by selecting the vfb driver, but I don't want that
driver, just the cfb_* functions.  Any help?

Thanks,

Richard Wolf
Card Access Services Pty Ltd
Level 2, 7-9 Albany Street
Crows Nest  NSW  2065
Phone: +612 9906 7209
Fax: +612 9906 7218
www.cardaccess.com.au

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: cfb_fillrect and friends undefined
  2006-08-03  2:39 cfb_fillrect and friends undefined Richard Wolf
@ 2006-08-03  6:20 ` Antonino A. Daplas
  0 siblings, 0 replies; 2+ messages in thread
From: Antonino A. Daplas @ 2006-08-03  6:20 UTC (permalink / raw)
  To: linux-fbdev-devel

Richard Wolf wrote:
> Hi,
> 
> I'm trying to write a frame buffer driver, basing it on the vfb virtual
> driver.  When I try to load the module I get an error message:
> 
> lh155ba: Unknown symbol platform_driver_unregister
> lh155ba: Unknown symbol cfb_copyarea
> lh155ba: Unknown symbol platform_device_register
> lh155ba: Unknown symbol platform_driver_register
> lh155ba: Unknown symbol platform_device_unregister
> lh155ba: Unknown symbol cfb_imageblit
> lh155ba: Unknown symbol cfb_fillrect
> 
> I can't work out what config options to enable to define these symbols.  I
> can get cfb_* to appear by selecting the vfb driver, but I don't want that
> driver, just the cfb_* functions.  Any help?

Add:

select FB_CFB_IMAGEBLIT
select FB_CFB_COPYAREA
select FB_CFB_FILLRECT

in drivers/video/Kconfig (under your driver, of course).

As for the platform_*, add #include <linux/platform_device.h>

Tony

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

end of thread, other threads:[~2006-08-03  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-03  2:39 cfb_fillrect and friends undefined Richard Wolf
2006-08-03  6:20 ` Antonino A. Daplas

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).