diff options
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/platform.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 63d3cb73bdb9..bb483ef32e00 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c | |||
@@ -22,6 +22,14 @@ | |||
22 | #include <linux/of_platform.h> | 22 | #include <linux/of_platform.h> |
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | 24 | ||
25 | const struct of_device_id of_default_bus_match_table[] = { | ||
26 | { .compatible = "simple-bus", }, | ||
27 | #ifdef CONFIG_ARM_AMBA | ||
28 | { .compatible = "arm,amba-bus", }, | ||
29 | #endif /* CONFIG_ARM_AMBA */ | ||
30 | {} /* Empty terminated list */ | ||
31 | }; | ||
32 | |||
25 | static int of_dev_node_match(struct device *dev, void *data) | 33 | static int of_dev_node_match(struct device *dev, void *data) |
26 | { | 34 | { |
27 | return dev->of_node == data; | 35 | return dev->of_node == data; |