Re: [PATCH v2] ata: libahci: Use of_platform_device_create only if supported

From: Tejun Heo
Date: Tue Feb 03 2015 - 07:13:34 EST


On Sat, Jan 31, 2015 at 10:36:22AM -0800, Guenter Roeck wrote:
> 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 <gregory.clement@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Applied to libata/for-3.20.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/