mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* spi_fsl_spi broken when compiled as module by b36ece832512c1a0afa54ff0a56d63492a1caf08
@ 2011-05-11 15:52 Lennart Sorensen
  2011-05-11 17:03 ` Lennart Sorensen
  2011-05-12  1:33 ` Hu Mingkai-B21284
  0 siblings, 2 replies; 10+ messages in thread
From: Lennart Sorensen @ 2011-05-11 15:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: Mingkai Hu, Len Sorensen, Grant Likely

When code was refactored, spi_fsl_spi now depends on funfcionts in
spi-fsl_lib, but those are not exported symbols so when building as a
module the symbols are missing and the compile fails.

Adding these to spi_fsl_lib.c fixes the compile.

EXPORT_SYMBOL(mpc8xxx_spi_tx_buf_u32);
EXPORT_SYMBOL(mpc8xxx_spi_rx_buf_u32);
EXPORT_SYMBOL(mpc8xxx_spi_tx_buf_u16);
EXPORT_SYMBOL(mpc8xxx_spi_rx_buf_u16);
EXPORT_SYMBOL(mpc8xxx_spi_tx_buf_u8);
EXPORT_SYMBOL(mpc8xxx_spi_rx_buf_u8);
EXPORT_SYMBOL(mpc8xxx_spi_strmode);
EXPORT_SYMBOL(mpc8xxx_spi_probe);
EXPORT_SYMBOL(of_mpc8xxx_spi_probe);
EXPORT_SYMBOL(mpc8xxx_spi_remove);
EXPORT_SYMBOL(to_of_pinfo);

All releases since the refactoring was done would be affected.

-- 
Len Sorensen

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

end of thread, other threads:[~2011-05-16 20:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11 15:52 spi_fsl_spi broken when compiled as module by b36ece832512c1a0afa54ff0a56d63492a1caf08 Lennart Sorensen
2011-05-11 17:03 ` Lennart Sorensen
2011-05-12  1:33 ` Hu Mingkai-B21284
2011-05-12 15:11   ` Lennart Sorensen
2011-05-16  2:10     ` Hu Mingkai-B21284
2011-05-16  2:17       ` Randy Dunlap
2011-05-16 16:52       ` Lennart Sorensen
2011-05-16 18:17     ` Grant Likely
2011-05-16 19:52       ` Lennart Sorensen
2011-05-16 20:01         ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®