From: Guenter Roeck Date: Sat, 31 Jan 2015 18:36:22 +0000 (-0800) Subject: ata: libahci: Use of_platform_device_create only if supported X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~149^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f627cfdeb7d07df7d7ad2e6ebe59f25d8af4212e;p=pandora-kernel.git ata: libahci: Use of_platform_device_create only if supported of_platform_device_create does not exist if OF_ADDRESS is not configured, so limit its use accordingly. Without this fix, the sparc64:allmodconfig build fails with ERROR: "of_platform_device_create" [drivers/ata/libahci_platform.ko] undefined! Fixes: c7d7ddee7e24 ("ata: libahci: Allow using multiple regulators") Cc: Gregory CLEMENT Signed-off-by: Guenter Roeck Signed-off-by: Tejun Heo --- Reading git-diff-tree failed