]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/of/base.c
of: add 'of_' prefix to machine_is_compatible()
[mirror_ubuntu-artful-kernel.git] / drivers / of / base.c
index 785e9cc1b20797ab0925b0c3cd16ef0f1f17026b..6bc8740c21ad740f5908a3989318155207c9c993 100644 (file)
@@ -219,13 +219,13 @@ int of_device_is_compatible(const struct device_node *device,
 EXPORT_SYMBOL(of_device_is_compatible);
 
 /**
- * machine_is_compatible - Test root of device tree for a given compatible value
+ * of_machine_is_compatible - Test root of device tree for a given compatible value
  * @compat: compatible string to look for in root node's compatible property.
  *
  * Returns true if the root node has the given value in its
  * compatible property.
  */
-int machine_is_compatible(const char *compat)
+int of_machine_is_compatible(const char *compat)
 {
        struct device_node *root;
        int rc = 0;
@@ -237,7 +237,7 @@ int machine_is_compatible(const char *compat)
        }
        return rc;
 }
-EXPORT_SYMBOL(machine_is_compatible);
+EXPORT_SYMBOL(of_machine_is_compatible);
 
 /**
  *  of_device_is_available - check if a device is available for use