From f627cfdeb7d07df7d7ad2e6ebe59f25d8af4212e Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Sat, 31 Jan 2015 10:36:22 -0800 Subject: [PATCH] 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-format-patch failed