From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann Droneaud Subject: linux-next: libahci_platform has undefined symbol on sparc Date: Sat, 31 Jan 2015 14:14:10 +0100 Message-ID: <1422710050.3030.17.camel@opteya.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Sender: linux-ide-owner@vger.kernel.org To: Gregory CLEMENT , Tejun Heo Cc: linux-next@vger.kernel.org, linux-ide@vger.kernel.org, sparclinux@vger.kernel.org, Yann Droneaud List-Id: linux-next.vger.kernel.org Hi, I've seen another issue regarding commit c7d7ddee7e24eedde6149eefbcfbfbc7125b9ff0 ("ata: libahci: Allow using multiple regulators") from linux-next: This commit modify ahci_platform_get_resources to use of_platform_device_create(). Unfortunately, it seems that of_platform_device_create() is not available on sparc (see CONFIG_OF_ADDRESS), so when built for sparc, the module libahci_platform.ko is rejected by modpost: ERROR: "of_platform_device_create" [drivers/ata/libahci_platform.ko] undefined! ../scripts/Makefile.modpost:91: recipe for target '__modpost' failed make[2]: *** [__modpost] Error 1 src/linux/Makefile:1120: recipe for target 'modules' failed Regards. -- Yann Droneaud OPTEYA