On Thu, 18 Sep 2014, micky wrote:No need export symbol, all rts52xx.c and rtsx_pcr.c will build into a single rtsx_pci.ko file.
On 09/18/2014 12:53 PM, Lee Jones wrote:Yes, you don't export the functions.
On Thu, 18 Sep 2014, micky_ching@xxxxxxxxxxxxxx wrote:I build as modules with no warning or error, did you find anything wrong?
From: Micky Ching <micky_ching@xxxxxxxxxxxxxx>I think you'll find you just broke the build.
Fix rts5227&5249 failed send buffer cmd after suspend,
PM_CTRL3 should reset before send any buffer cmd after suspend.
Otherwise, buffer cmd will failed, this will lead resume fail.
Signed-off-by: Micky Ching <micky_ching@xxxxxxxxxxxxxx>
drivers/mfd/rts5227.c | 19 +++++++++++++++++++
drivers/mfd/rts5249.c | 4 ++++
drivers/mfd/rtsx_pcr.h | 1 +
include/linux/mfd/rtsx_pci.h | 12 ++++++++++++
4 files changed, 36 insertions(+)
What happens when you compile these as modules?