mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
dm: core: Rename of_device_is_compatible()
The of_ prefix conflicts with the livetree version of this function. Rename it to avoid problems when we add livetree support. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -40,8 +40,8 @@ static unsigned long __invoke_psci_fn_smc(unsigned long function_id,
|
||||
static int psci_bind(struct udevice *dev)
|
||||
{
|
||||
/* No SYSTEM_RESET support for PSCI 0.1 */
|
||||
if (of_device_is_compatible(dev, "arm,psci-0.2") ||
|
||||
of_device_is_compatible(dev, "arm,psci-1.0")) {
|
||||
if (device_is_compatible(dev, "arm,psci-0.2") ||
|
||||
device_is_compatible(dev, "arm,psci-1.0")) {
|
||||
int ret;
|
||||
|
||||
/* bind psci-sysreset optionally */
|
||||
|
Reference in New Issue
Block a user