lkml.org 
[lkml]   [2011]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: spi_fsl_spi broken when compiled as module by b36ece832512c1a0afa54ff0a56d63492a1caf08
Date
Hi Len,

Please submit a patch to modify it.

Thanks,
Mingkai

> -----Original Message-----
> From: Lennart Sorensen [mailto:lsorense@csclub.uwaterloo.ca]
> Sent: Wednesday, May 11, 2011 11:52 PM
> To: linux-kernel@vger.kernel.org
> Cc: Hu Mingkai-B21284; Len Sorensen; Grant Likely
> Subject: spi_fsl_spi broken when compiled as module by
> b36ece832512c1a0afa54ff0a56d63492a1caf08
>
> 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




\
 
 \ /
  Last update: 2011-05-12 03:37    [from the cache]
©2003-2011 Jasper Spaans