|
@@ -22,6 +22,14 @@
|
|
|
#include <linux/of_platform.h>
|
|
|
#include <linux/platform_device.h>
|
|
|
|
|
|
+const struct of_device_id of_default_bus_match_table[] = {
|
|
|
+ { .compatible = "simple-bus", },
|
|
|
+#ifdef CONFIG_ARM_AMBA
|
|
|
+ { .compatible = "arm,amba-bus", },
|
|
|
+#endif /* CONFIG_ARM_AMBA */
|
|
|
+ {} /* Empty terminated list */
|
|
|
+};
|
|
|
+
|
|
|
static int of_dev_node_match(struct device *dev, void *data)
|
|
|
{
|
|
|
return dev->of_node == data;
|