Google
  Web www.spinics.net

Re: loadable driver requires to call some BSP functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hello!

boku schrieb:
I'd like to write a loadable module which can utilize some BSP
functions. How should I do so that the module can call those BSP functions
it needs.
I use to include some *.h for BSP function declarations in the module,
but the compiler appears some warnings such as
warning: implicit declaration of function 'xxxx' while i compile the module.

It is not sufficient to declare them in header files; the symbols have
also to be exported from the kernel with EXPORT_SYMBOL(my_symbol_name)
resp. EXPORT_SYMBOL_GPL(my_symbol_name) in the C source file.

With best regards
Andreas Schweigstill

--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux